From dcc4992bd51e9ee4a97099cd3a15085f7e247f23 Mon Sep 17 00:00:00 2001 From: gaoshp <291585735@qq.com> Date: 星期日, 03 十一月 2024 20:21:41 +0800 Subject: [PATCH] update --- src/views/dnc/file/admin/index.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/dnc/file/admin/index.vue b/src/views/dnc/file/admin/index.vue index 9a62059..55e0b2d 100644 --- a/src/views/dnc/file/admin/index.vue +++ b/src/views/dnc/file/admin/index.vue @@ -1,7 +1,7 @@ <!-- * @Date: 2024-05-20 21:43:10 * @LastEditors: Sneed - * @LastEditTime: 2024-06-16 15:35:21 + * @LastEditTime: 2024-06-16 16:19:14 * @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/src/views/dnc/file/admin/index.vue --> <template> @@ -9,7 +9,7 @@ <el-card shadow="never" style="height: 100%;" body-style="height: 100%"> <el-container> <el-aside width="200px"> - <el-tree ref="group" node-key="id" :props="{ + <el-tree :expand-on-click-node="false" ref="group" node-key="id" :props="{ label: 'name', hasChildren: 'id' }" :load="loadNode" @node-click="nodeClick" lazy></el-tree> @@ -115,7 +115,7 @@ }) }, init() { - this.$HTTP.post(`/api/blade-cps/group/groupWorkstation`, { groupCategory: 1, groupType: 'group_workstation' }).then(res => { + this.$HTTP.post(`/api/smis/group/groupWorkstation`, { groupCategory: 1, groupType: 'group_workstation' }).then(res => { this.treeData = this.formatData(res.data) }) -- Gitblit v1.9.3