02 2022 档案
摘要://值和id的名字需要和回显函数的值和id对应 //数据格式(该案例值为:dictValue;id为:dictLabel) deptList: [ { dictValue: 2, dictLabel: '移动' }, { dictValue: 3, dictLabel: '联通' }, { dict
阅读全文
摘要:官网使用方法:Vue-Treeselect | Vue-Treeselect 中文网 进阶版请查看:https://www.cnblogs.com/gyw1996/p/15923912.html //vue页面 <el-form-item label="岗位"> <treeselect :mult
阅读全文
摘要:一,【params】和【query】传值: 传值页面: <template> <div> <view class="post-card" v-for="item in postList" v-bind:key="item.id" v-on:click="turnToPost(item.id)"> <
阅读全文
摘要:fetch(放要下载的url).then(async res => await res.blob()).then((blob) => { const a = document.createElement('a'); a.style.display = 'none'; a.href = URL.cre
阅读全文
摘要://vue页面 <el-select v-model="form.towerDeptName" placeholder="输入文字后选择" clearable @change="towerChange" > <el-option v-for="item in towerList" :key="ite
阅读全文
摘要:第一种方法:(直接在页面上写) <el-input oninput ="value=value.replace(/[^0-9.]/g,'')" placeholder="请输入(整数或者小数)金额" v-model="form.ysje"></el-input> 第二种方法: 页面: <el-inp
阅读全文
摘要:一、checkbox更改disabled样式 /deep/ .el-input.is-disabled .el-input__inner { color: #606266;//在这里更改你所需要的样式 } 二、checkbox更改disabled样式 /deep/ .is-disabled .is-
阅读全文
摘要:初级引入使用请移步:https://www.cnblogs.com/gyw1996/p/15923984.html官方文档请移步:https://www.vue-treeselect.cn/#disable-branch-nodes <treeselect :multiple="true" v-mo
阅读全文