摘要: function delayDate(time) { return new Promise((resolve, reject) => { setTimeout(() => { console.log('开始执行') resolve("success"); }, time); }); } await 阅读全文
posted @ 2021-09-07 14:57 ˉ八月 阅读(580) 评论(0) 推荐(0) 编辑
摘要: getTableList() { //列表数据查询 queryRoomAudit(this.tableParameter).then(response => { this.tableData = response.data this.returnTotal = response.total this 阅读全文
posted @ 2021-06-28 16:49 ˉ八月 阅读(89) 评论(0) 推荐(0) 编辑
摘要: //修改popicker.js (function ($, document) { //创建 DOM $.dom = function (str) { if (typeof (str) !== 'string') { if ((str instanceof Array) || (str[0] && 阅读全文
posted @ 2021-05-27 09:41 ˉ八月 阅读(409) 评论(0) 推荐(0) 编辑
摘要: <template> <div> <el-date-picker v-model="nInput" :type="type" :placeholder="placeholder" :readonly="readonly" :disabled="disabled" :clearable="cleara 阅读全文
posted @ 2021-05-25 15:54 ˉ八月 阅读(941) 评论(0) 推荐(0) 编辑
摘要: 1 <template> 2 <div> 3 <el-input v-model="nInput" :placeholder="placeholder" :readonly="readonly" :disabled="disabled" :clearable="clearable" @input=" 阅读全文
posted @ 2021-05-18 16:03 ˉ八月 阅读(779) 评论(0) 推荐(0) 编辑
摘要: server { listen 8001; location / { # vue h5 history mode 时配置 try_files $uri $uri/ /index.html; root D:/phpstudy_pro/WWW/Vue/XMTFDMSH/dmsWechat/; index 阅读全文
posted @ 2021-04-29 11:31 ˉ八月 阅读(467) 评论(0) 推荐(0) 编辑
摘要: 时间格式:2021-05-31 00:00:00 ,后缀带00:00:00的时间格式在IOS时间转换格式会报错 需直接截取前缀年月日,或者时分秒改成正常的时间 阅读全文
posted @ 2021-04-27 16:24 ˉ八月 阅读(57) 评论(0) 推荐(0) 编辑
摘要: 方法一:使用命令行主题工具(亲测好用) 如果你的项目没有使用 SCSS,可以使用命令行主题工具进行深层次的主题定制: 1.首先安装主题生成工具 npm i element-theme -g 2.安装白垩主题 npm i element-theme-chalk -D 3.安装et cnpm i ele 阅读全文
posted @ 2020-12-04 13:21 ˉ八月 阅读(351) 评论(0) 推荐(0) 编辑
摘要: adaptive(document, window);//初始加载自适应 function adaptive(doc, win) { var docEl = doc.documentElement, resizeEvt = 'orientationchange' in window ? 'orien 阅读全文
posted @ 2020-12-03 21:45 ˉ八月 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 1.修改config文件夹下的index.js assetsPublicPath: '/demo/' //你的服务器二级目录 2.修改路由js文件 var base = process.env.NODE_DEV == 'development' ? '/' : '/demo/' 部署,可以正常使用。 阅读全文
posted @ 2020-06-01 10:00 ˉ八月 阅读(971) 评论(0) 推荐(0) 编辑