From 1f772a6c7834eef35ff4c9f2c8ed734a4c2be76a Mon Sep 17 00:00:00 2001 From: 13937891274 <kxc0822> Date: 星期二, 02 八月 2022 11:09:16 +0800 Subject: [PATCH] 数据对接 --- src/views/facilityManagement/deviceType/component/Dailog.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/facilityManagement/deviceType/component/Dailog.vue b/src/views/facilityManagement/deviceType/component/Dailog.vue index 3ea7555..b87da7f 100644 --- a/src/views/facilityManagement/deviceType/component/Dailog.vue +++ b/src/views/facilityManagement/deviceType/component/Dailog.vue @@ -13,7 +13,7 @@ </el-col> <el-col :span="11" :offset="2"> <el-form-item label="父级编号" size="default"> - <el-tree-select v-model="form.parentId" :data="data" :props="propst" class="w100" placeholder="请选择" /> + <el-tree-select check-strictly="true" v-model="form.parentId" :data="data" :props="propst" class="w100" placeholder="请选择" /> </el-form-item> </el-col> </el-row> @@ -103,9 +103,9 @@ }; const data = ref([]); const propst = { - value: 'id', - lable: 'typeName', + label: 'typeName', children: 'childList', + value: 'id', }; const submitForm = () => { facilityManagementApi() -- Gitblit v1.9.2