浏览代码

feat: 关闭树形结构

luoyali 1 年之前
父节点
当前提交
becd0cb629
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/views/setting/department/index.vue
  2. 1 1
      src/views/setting/region/index.vue

+ 1 - 1
src/views/setting/department/index.vue

@@ -247,7 +247,7 @@ const { searchData, tableOpts, checkedColumns, activeColumns, updateParams } = u
 	{
 		options: {
 			showIndex: false,
-			defaultExpandAll: true,
+			defaultExpandAll: false,
 			onSelectionChange: selectionChange
 		},
 		// 需要展示的列

+ 1 - 1
src/views/setting/region/index.vue

@@ -229,7 +229,7 @@ const { searchData, tableOpts, checkedColumns, activeColumns, updateParams } = u
 	{
 		options: {
 			showIndex: false,
-			defaultExpandAll: true,
+			defaultExpandAll: false,
 			onSelectionChange: selectionChange
 		},
 		// 需要展示的列