feat: 分组管理设备树
This commit is contained in:
@@ -80,7 +80,7 @@
|
||||
treeState.loading = loading;
|
||||
};
|
||||
const httpPrams = computed(() => {
|
||||
return { ...route.params, ...route.query, ...props.params };
|
||||
return { ...route.params, ...route.query, ...props.params, ...formModel };
|
||||
});
|
||||
|
||||
const getData = (params = {}) => {
|
||||
@@ -109,7 +109,11 @@
|
||||
getData(params);
|
||||
};
|
||||
|
||||
defineExpose({ treeReload });
|
||||
const clearSelectedKeys = () => {
|
||||
selectedKeys.value = [];
|
||||
};
|
||||
|
||||
defineExpose({ treeReload, clearSelectedKeys });
|
||||
</script>
|
||||
<style lang="less" scoped>
|
||||
@gap: 16px;
|
||||
|
Reference in New Issue
Block a user