上一页 1 2 3 4 5 6 7 8 ··· 19 下一页
摘要: 1.index.html <!--清除浏览器中的缓存 --><meta http-equiv="pragram" content="no-cache"><meta http-equiv="cache-control" content="no-cache, no-store, must-revalid 阅读全文
posted @ 2023-02-08 13:13 泽泽生龙 阅读(1403) 评论(0) 推荐(0)
摘要: setup函数是组合式API的入口setup函数是页面启动后的自执行函数页面中所涉及的变量和方法都需要下载setup函数中在setup中定义的变量,方法都需要return 出去才可以使用,否则在视图中无法使用setup函数位于beforecreated 和created 钩子之前,是用来替代这两个函 阅读全文
posted @ 2023-02-03 13:58 泽泽生龙 阅读(147) 评论(0) 推荐(0)
摘要: bind 绑定不但可以动态绑定属性值 <div v-bind:id="dynamicId"></div> 还可以动态绑定属性名 <a v-bind:[attributeName]="url"> ... </a> 以及表达式型的 <a :['foo' + bar]="value"> ... </a> 阅读全文
posted @ 2023-02-03 09:11 泽泽生龙 阅读(166) 评论(0) 推荐(0)
摘要: rewirteLog() { console.log = (function (log) { return process.env.NODE_ENV == 'production' ? function () {} : log })(console.log) }, 在main.js 或者在app.v 阅读全文
posted @ 2022-09-13 17:39 泽泽生龙 阅读(101) 评论(0) 推荐(0)
摘要: //处理参数,将空字符串, 空数组的字段给清空 function deleteUnvalidWords(param, getWay) { if (Object.prototype.toString.call(param) '[object Object]') {//判断是否是对象 for (let 阅读全文
posted @ 2022-09-09 15:58 泽泽生龙 阅读(97) 评论(0) 推荐(0)
摘要: <template> <a-modal :visible="modalValue.visible" title="批量导入" width="38%" :maskClosable="false" @ok="handleOk" @cancel="handleCancel" > <a-upload-dra 阅读全文
posted @ 2022-09-09 15:57 泽泽生龙 阅读(1234) 评论(0) 推荐(0)
摘要: import Vue from 'vue' const drag = Vue.directive('drag', { bind: function(el) {}, inserted: function(el) { el.onmousedown = function(e) { var disx = e 阅读全文
posted @ 2022-09-09 15:52 泽泽生龙 阅读(36) 评论(0) 推荐(0)
摘要: axios({ method: 'get', url: process.env.VUE_APP_BASE_API + '/tb-nationwide/downloadEvaluationTaskRecord', params: param, headers: { 'Content-Type': 'a 阅读全文
posted @ 2022-08-05 09:58 泽泽生龙 阅读(305) 评论(0) 推荐(0)
摘要: 当天晚上,当我满怀兴奋,急切的提着晚餐回去的时候,你开门的瞬间就想给你一个拥抱,可是我的手里提着晚餐,想着你等我回家吃饭,我的心里一半是愧疚,一半是甜蜜,只想等会儿好好地让你多吃会儿,以及以后一如既往的更加的对你好。 当你问我你的打印资料时,此时我刚刚换下鞋子,我是忘记了,因为下班后我需要带人回去, 阅读全文
posted @ 2022-08-03 11:41 泽泽生龙 阅读(22) 评论(0) 推荐(0)
摘要: <a-tab-pane key="2" :tab="`线路覆盖率统计(按${text3}+${text4}统计)`" force-render> 阅读全文
posted @ 2022-07-13 10:27 泽泽生龙 阅读(30) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 19 下一页