refactor: 删除自定义TreeSelect组件,使用element-plus2.1.8新增TreeSelect组件

Former-commit-id: 8691204802d6240000717fc9effa08adbadcf11c
This commit is contained in:
郝先瑞
2022-04-18 21:07:55 +08:00
parent 09d131f101
commit d828af91b4
4 changed files with 17 additions and 238 deletions

View File

@@ -105,7 +105,7 @@
</el-form-item>
<el-form-item label="所属部门" prop="deptId">
<tree-select v-model="formData.deptId" :options="deptOptions" placeholder="请选择所属部门" />
<el-tree-select v-model="formData.deptId" placeholder="请选择所属部门" :data="deptOptions" filterable />
</el-form-item>
<el-form-item label="手机号码" prop="mobile">
@@ -224,7 +224,6 @@ import {
Top,
UploadFilled
} from "@element-plus/icons-vue";
import TreeSelect from "@/components/TreeSelect/index.vue";
import {
UserItem,
UserQueryParam,