height: calc(px2rem(110) + constant(safe-area-inset-bottom));
height: calc(px2rem(110) + env(safe-area-inset-bottom));
padding-bottom...
5年前 (2020-12-18)
喜欢
在router.js里面
const router = new VueRouter({
mode: 'history',
routes,
scrollBehavior (to, from, savedPosition) {
if (saved...
5年前 (2020-12-15)
喜欢
指定UTF-8
<script charset="UTF-8" type="text/javascript"src="js/g5418.js"></script>
...
5年前 (2020-12-07)
喜欢
前端开发会遇到判断设备类型是否是苹果端,记录一下js代码
var u = navigator.userAgent;
var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //androi...
5年前 (2020-12-04)
喜欢
进入项目中的.git文件夹删除index.lock即可
...
5年前 (2020-12-02)
喜欢
外包项目中经常会遇到使用多个echart图表的情况,尤其是数据可视化大屏 使用echarts更多,每次使用echarts组件时,都需要专门修改一次id的话太麻烦了,而且可能会出现遗漏,造成对其他echarts的干扰,那么怎么解决呢?使用id也需要每次都重复写没办法复用找了一个解决...
5年前 (2020-11-28)
喜欢
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
...
5年前 (2020-11-19)
喜欢
created: function () {
this.getdata();
let that = this;
this.time = window.setInterval(() => {
setTimeout(() => {...
5年前 (2020-11-14)
喜欢
解决办法在dataZoom 里添加
filterMode: 'empty'解决
dataZoom: [{
show: true,
height: 8,
start: 7,
bo...
5年前 (2020-11-10)
喜欢
第一种方式
使用竖线分割
props: {
follow: {
type: Number | String,
default() {
return 0;
...
5年前 (2020-11-09)
喜欢