06 2021 档案

摘要:this.$set(this.dsPolicyInfo, 'conditions', text) 阅读全文
posted @ 2021-06-22 17:42 coffeemil 阅读(206) 评论(0) 推荐(0)
摘要:const service = axios.create({ // axios中请求配置有baseURL选项,表示请求URL公共部分 baseURL: process.env.VUE_APP_BASE_API, // 超时 timeout: 1000000 }) download.js import 阅读全文
posted @ 2021-06-15 22:08 coffeemil 阅读(435) 评论(0) 推荐(0)
摘要:el-button点击之后不自动失焦,需要手动失焦 export function buttonBlur(ev) { console.log(ev.target); if (ev.target.nodeName == "SPAN" | ev.target.nodeName == "I") { ev. 阅读全文
posted @ 2021-06-14 00:59 coffeemil 阅读(2340) 评论(0) 推荐(0)
摘要:自定义多列表,自定义过滤 <el-select size="mini" v-model="form.code" filterable :filter-method='filterMethod' clearable placeholder="请选择"> <el-option v-for="item i 阅读全文
posted @ 2021-06-09 01:34 coffeemil 阅读(1615) 评论(0) 推荐(0)
摘要::header-cell-style="{textAlign: 'center'}" //表头居中:cell-style="{ textAlign: 'center' }" //内容居中 :show-overflow-tooltip="true" //超出省略号 fit //内容展开 阅读全文
posted @ 2021-06-09 00:42 coffeemil 阅读(482) 评论(0) 推荐(0)
摘要://浏览器种显示源码 打开 config/index.js 并找到 devtool property。将其更新为: 如果你使用的是 Vue CLI 2,请设置并更新 config/index.js 内的 devtool property: devtool: 'source-map', 如果你使用的是 阅读全文
posted @ 2021-06-08 20:25 coffeemil 阅读(209) 评论(0) 推荐(0)
摘要:App.vue //cache缓存永久缓存的变量 <script> export default { name: "App", created() { this.persisted(); }, methods: {//持久化 persisted() { if (sessionStorage.getI 阅读全文
posted @ 2021-06-08 01:54 coffeemil 阅读(89) 评论(0) 推荐(0)
摘要:store/modules/cache.js import { listData } from '@/api/system/dict/data.js' const state = { dictCache: {}, } const mutations = { UPDATE_DICTS(state, p 阅读全文
posted @ 2021-06-08 01:24 coffeemil 阅读(956) 评论(0) 推荐(0)
摘要:1.设置淘宝镜像 npm config set registry http://registry.npm.taobao.org/ 还原npm镜像 npm config set registry https://registry.npmjs.org/ 阅读全文
posted @ 2021-06-06 17:16 coffeemil 阅读(58) 评论(0) 推荐(0)
摘要:1.Chinese (Simplified) Language Pack for Visual Studio Code //中文汉化 2.JS-CSS-HTML Formatter //格式化插件 Ctrl+Shit+P 选择 Configure Display Language zh-cn 3.v 阅读全文
posted @ 2021-06-05 23:45 coffeemil 阅读(99) 评论(0) 推荐(0)