Explorar el Código

feat: 关闭树形结构

luoyali hace 1 año
padre
commit
becd0cb629
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  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
 		},
 		// 需要展示的列