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

浙公网安备 33010602011771号