Parcourir la source

解决右侧操作列不动态显示样式问题

hubin il y a 1 an
Parent
commit
18f76c2047
1 fichiers modifiés avec 6 ajouts et 5 suppressions
  1. 6 5
      src/views/setting/app/index.vue

+ 6 - 5
src/views/setting/app/index.vue

@@ -167,7 +167,7 @@ const columns = [
 	{
 		prop: 'status',
 		label: '状态',
-		minWidth: 50,
+		minWidth: 60,
 		slots: {
 			default: 'statusSlot'
 		}
@@ -195,7 +195,7 @@ const columns = [
 	{
 		prop: 'updateTime',
 		label: '修改时间',
-		minWidth: 126
+		minWidth: 150
 	},
 	{
 		prop: 'createBy',
@@ -205,7 +205,7 @@ const columns = [
 	{
 		prop: 'createTime',
 		label: '创建时间',
-		minWidth: 126
+		minWidth: 150
 	},
 	{
 		prop: 'action',
@@ -221,7 +221,8 @@ const columns = [
 const { searchData, tableOpts, checkedColumns, activeColumns, curSelectionRows, updateParams } = useTablePage(
 	{
 		options: {
-			showIndex: false
+			showIndex: false,
+			defaultExpandAll: true
 		},
 		// 需要展示的列
 		columns,
@@ -306,7 +307,7 @@ watch(groupFilterText, val => {
 }
 .content-warp {
 	flex: 1;
-	//width: calc(100% - 210px);
+	width: calc(100% - 210px);
 }
 // 单独自己写的
 /*:deep(.box-card) {