fix:冷热源对接接口

This commit is contained in:
zhaohy
2024-08-29 15:41:52 +08:00
parent c21a79da87
commit 1051e09a7c
7 changed files with 536 additions and 188 deletions

View File

@@ -120,9 +120,9 @@
})
.then((res) => {
treeData.value = transform(get(res, resultField));
//默认选择第一个 并刷新列表
selectedKeys.value = [];
if (formConfig.value.callList && formConfig.value.defaultSelection) {
//默认选择第一个 并刷新列表
selectedKeys.value = [];
handleSelect([treeData.value[0].id], {
selected: true,
event: 'select',