摘要: /* eslint-disable */ /* Blob.js * A Blob implementation. * 2014-05-27 * * By Eli Grey, http://eligrey.com * By Devin Samarin, https://github.com/eboyj 阅读全文
posted @ 2021-11-12 17:30 何云泽 阅读(831) 评论(0) 推荐(0)
摘要: /* eslint-disable */ require('script-loader!file-saver'); require('script-loader!@/vendor/Blob'); require('script-loader!xlsx/dist/xlsx.core.min'); fu 阅读全文
posted @ 2021-11-12 17:30 何云泽 阅读(1187) 评论(0) 推荐(0)
摘要: <template> <span></span> </template> <script> import common from "../utils/common.js"; export default { methods: { // myfilter 处理请求结果的数据 gettabelList( 阅读全文
posted @ 2021-11-12 17:30 何云泽 阅读(50) 评论(0) 推荐(0)
摘要: 安装依赖库: npm install -D xlsx ,file-saver npm install -s script-loader 在项目的src文件夹下新建一个文件夹vendor Json2File.vue Export2Excel.js Json2File.vue 阅读全文
posted @ 2021-11-12 17:29 何云泽 阅读(113) 评论(0) 推荐(0)
摘要: <template> <view class="uploadImg"> <view :style="styleCss" class="border-x" v-for="(item,index) in tempFiles" :key="index"> <template v-if="item.isJi 阅读全文
posted @ 2021-11-10 10:45 何云泽 阅读(727) 评论(0) 推荐(0)
摘要: style="white-space: pre-line;" 阅读全文
posted @ 2021-10-29 11:56 何云泽 阅读(131) 评论(0) 推荐(0)
摘要: 插件库中搜索Vetur,点击安装,安装完成之后点击重新加载,即可使用 mac的步骤如下,由于我安装了转中文插件,所以接下来会是中文的: code -> 首选项 -> 用户代码片段 -> (新建代码片段取名vue.json) 新建代码片段这块可以直接往下找就能找到vscode上带的vue.json { 阅读全文
posted @ 2021-10-25 16:49 何云泽 阅读(575) 评论(0) 推荐(0)
摘要: require.context(directory,useSubdirectories,regExp)directory:表示检索的目录useSubdirectories:表示是否检索子文件夹regExp:匹配文件的正则表达式,一般是文件名 例如 require.context("@/views/c 阅读全文
posted @ 2021-10-25 16:07 何云泽 阅读(54) 评论(0) 推荐(0)
摘要: uniapp父子组件不能获取对象里面放函数 <template> <view> <slot></slot> </view></template><script> export default { name: 'hForm', provide() { return { form: this, } }, 阅读全文
posted @ 2021-10-14 10:05 何云泽 阅读(852) 评论(0) 推荐(0)
摘要: <button data-name="f1" class="b1" open-type="share"> 分享链接 </button> <button data-name="f2" class="b1" open-type="share">分享链接</button> onShareAppMessag 阅读全文
posted @ 2021-10-13 17:04 何云泽 阅读(496) 评论(0) 推荐(0)