Quellcode durchsuchen

改回公共组件的样式调整

ooo vor 1 Jahr
Ursprung
Commit
de25cc5ecd

+ 2 - 2
src/components/CommonTable/configs/tableConfig.ts

@@ -469,14 +469,14 @@ export const tableConfig = {
 			  label: "点检项名称",
 			  prop: "checkName",
 			  span: 12,
-			  width: '150',
+			  labelWidth: '150',
 			  search: true,
 			  editDisabled: true,
 			},
 			{
 			  label: "点检项编码",
 			  prop: "checkCode",
-			  width: '150',
+			  labelWidth: '150',
 			  editDisabled: true,
 			  span: 12,
 			  search: true,

+ 0 - 2
src/components/CommonTable/index.vue

@@ -119,7 +119,6 @@ onMounted(() => {
     height: "500",
     overHidden: true,
     indexWidth: "120px",
-    searchLabelWidth: 110,
     column: tableConfig[props.tableType].column,
   });
   // 列处理
@@ -140,7 +139,6 @@ watch(
       addBtn: false,
       height: "500",
       overHidden: true,
-      searchLabelWidth: 110,
       column: tableConfig[props.tableType].column,
     });
     // 列处理