摘要: ​官网使用方法:Vue-Treeselect | Vue-Treeselect 中文网 进阶版请查看:https://www.cnblogs.com/gyw1996/p/15923912.html //vue页面 <el-form-item label="岗位"> <treeselect :mult 阅读全文
posted @ 2022-02-22 17:04 彳小闲鱼 阅读(2898) 评论(0) 推荐(0) 编辑
摘要: 一,【params】和【query】传值: 传值页面: <template> <div> <view class="post-card" v-for="item in postList" v-bind:key="item.id" v-on:click="turnToPost(item.id)"> < 阅读全文
posted @ 2022-02-22 16:59 彳小闲鱼 阅读(259) 评论(0) 推荐(0) 编辑
摘要: fetch(放要下载的url).then(async res => await res.blob()).then((blob) => { const a = document.createElement('a'); a.style.display = 'none'; a.href = URL.cre 阅读全文
posted @ 2022-02-22 16:57 彳小闲鱼 阅读(219) 评论(0) 推荐(0) 编辑
摘要: //vue页面 <el-select v-model="form.towerDeptName" placeholder="输入文字后选择" clearable @change="towerChange" > <el-option v-for="item in towerList" :key="ite 阅读全文
posted @ 2022-02-22 16:54 彳小闲鱼 阅读(2901) 评论(0) 推荐(0) 编辑
摘要: 第一种方法:(直接在页面上写) <el-input oninput ="value=value.replace(/[^0-9.]/g,'')" placeholder="请输入(整数或者小数)金额" v-model="form.ysje"></el-input> 第二种方法: 页面: <el-inp 阅读全文
posted @ 2022-02-22 16:54 彳小闲鱼 阅读(2750) 评论(0) 推荐(0) 编辑
摘要: 一、checkbox更改disabled样式 /deep/ .el-input.is-disabled .el-input__inner { color: #606266;//在这里更改你所需要的样式 } 二、checkbox更改disabled样式 /deep/ .is-disabled .is- 阅读全文
posted @ 2022-02-22 16:53 彳小闲鱼 阅读(1145) 评论(0) 推荐(0) 编辑
摘要: 初级引入使用请移步:https://www.cnblogs.com/gyw1996/p/15923984.html官方文档请移步:https://www.vue-treeselect.cn/#disable-branch-nodes <treeselect :multiple="true" v-mo 阅读全文
posted @ 2022-02-22 16:53 彳小闲鱼 阅读(2924) 评论(0) 推荐(0) 编辑