From f931c3a8fe0a7bf5c59c3cd75b9f3b017d1d84be Mon Sep 17 00:00:00 2001 From: 13937891274 <kxc0822> Date: 星期三, 03 八月 2022 17:22:21 +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