摘要: const load = this.$loading({ lock: true, text: '正在生成中...', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.7)' }); 关闭:load.close() 阅读全文
posted @ 2021-03-01 09:20 诺谟 阅读(397) 评论(0) 推荐(0)
摘要: 1.npm uninstall vue 卸载当前vue2.npm install -s vue 重新安装vue3.npm run dev 运行 报错4.npm update 升级vue依赖 阅读全文
posted @ 2021-03-01 09:13 诺谟 阅读(39) 评论(0) 推荐(0)
摘要: 1. sass 转 css https://www.sassmeister.com/ 阅读全文
posted @ 2020-11-21 14:48 诺谟 阅读(58) 评论(0) 推荐(0)
摘要: <template> <div> <div id="box" :style="{height:divHeight+'px'}"> <div id="left"> 1111111111 </div> <div id="resize"></div> <div id="right" > 222222222 阅读全文
posted @ 2020-09-20 16:09 诺谟 阅读(694) 评论(0) 推荐(0)
摘要: 1. file-saver(文件下载) 网址:https://www.npmjs.com/package/file-saver 安装: npm install file-saver --save 引用: import { saveAs } from 'file-saver'; 用法: // txtv 阅读全文
posted @ 2020-09-19 11:19 诺谟 阅读(193) 评论(0) 推荐(0)
摘要: vue子组件和父组件之间的传值和方法的相互调用 事件调用:1. 子组件调用父组件事件 this.$parent.closeCurrentView();//子 父组件:定义closeCurrentView事件 2. 父组件调用子组件事件 this.$refs.orderlist.parentHandl 阅读全文
posted @ 2020-09-16 22:22 诺谟 阅读(2547) 评论(0) 推荐(0)
摘要: 以组件的形式引入项目中 组件: <template> <div> <div :class="className" :id="id" :style="{height:height,width:width}"></div> </div> </template> <script> // 引入基本模板 le 阅读全文
posted @ 2020-09-16 21:18 诺谟 阅读(1792) 评论(0) 推荐(0)
摘要: downloadPdf () { const load = this.$loading({ lock: true, text: '正在生成中...', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.7)' }); let targe 阅读全文
posted @ 2020-09-15 17:34 诺谟 阅读(235) 评论(0) 推荐(0)
摘要: 如果目录中有tsconfig.json,直接进入,找到outDir,修改其值为你将要配置的路径 如果没有tsconfig.json配置文件,那么执行 生成配置文件,配置路径即可 阅读全文
posted @ 2019-06-25 10:54 诺谟 阅读(2803) 评论(0) 推荐(0)
摘要: //第一步,初始化 git init //第二步,拉取,后面推荐使用ssh地址 git submodule add (+地址) git submodule update --init --recursive 下拉子模块 报错: fatal: not a git repository (or any 阅读全文
posted @ 2019-06-25 10:12 诺谟 阅读(13502) 评论(1) 推荐(0)
你好啊