Browse Source

feat: 关闭树形结构

luoyali 1 year ago
parent
commit
becd0cb629
2 changed files with 2 additions and 2 deletions
  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
 		},
 		// 需要展示的列