摘要:
1、添加标签@/layout/components/AppMain.vue添加: <template> <section class="app-main"> <transition name="fade-transform" mode="out-in"> <keep-alive :include="
阅读全文
posted @ 2021-06-03 15:08
sunny-cf
阅读(1702)
推荐(0)
摘要:
1、安装 npm install vue-moment --save 或者vue项目管理器安装插件moment依赖 2、在main.js中引用 import moment from 'moment' Vue.prototype.moment = moment 3、在main.js中加入日期格式化的过
阅读全文
posted @ 2021-05-31 16:50
sunny-cf
阅读(2701)
推荐(0)
摘要:
1、npm版本过低问题,执行'npm install -g npm'命令升级版本 2、执行'npm cache clean --force'清缓存再安装,再清缓存再安装.....反复几次后,安装成功
阅读全文
posted @ 2021-05-27 10:31
sunny-cf
阅读(494)
推荐(0)
摘要:
页面跳转出现进度条(router.js) router.beforeEach((to, from, next) => { //出现进度条 NProgress.start() next() }) router.afterEach(() => { //进度条消失 NProgress.done() } 发
阅读全文
posted @ 2021-05-26 15:22
sunny-cf
阅读(130)
推荐(0)
摘要:
1、new set [...new Set(that.business)] 2、filter Arr要去重的数组 var res = new Map(); var newArr = Arr.filter((arr) => !res.has(arr.label) && res.set(arr.labe
阅读全文
posted @ 2021-05-26 14:47
sunny-cf
阅读(665)
推荐(0)
摘要:
let key = "编程"; console.log("查询的内容", key) const db = wx.cloud.database(); const _ = db.command db.collection('qcl').where(_.or([{ name: db.RegExp({ re
阅读全文
posted @ 2021-05-19 05:02
sunny-cf
阅读(1181)
推荐(0)
摘要:
查: 查username为admin的
阅读全文
posted @ 2021-05-18 16:02
sunny-cf
阅读(218)
推荐(0)
posted @ 2021-05-12 15:30
sunny-cf
阅读(1836)
推荐(0)
摘要:
如果不知道另一个app的包名 安装反编译软件如APKtool 包名: 启动页activity 调用方代码 //判断app是否存在 if(plus.runtime.isApplicationExist({pname:'com.inspur.jkmateriel'})){ console.log("该a
阅读全文
posted @ 2021-04-23 13:32
sunny-cf
阅读(3354)
推荐(0)
摘要:
解决:再加一个<style></style>
阅读全文
posted @ 2020-12-17 12:40
sunny-cf
阅读(585)
推荐(0)