Browse Source

style(DataTable):商品信息列配置修改

xinyan 10 months ago
parent
commit
7521ad57e4
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/views/product-manage/Columns.ts

+ 3 - 3
src/views/product-manage/Columns.ts

@@ -5,7 +5,7 @@ export const ProductColumns = [
     slots: { default: 'is_monitor' }
   },
   {
-    field: 'product_info', title: '商品信息', minWidth: 260, align: 'center', fixed: 'left',
+    field: 'product_info', title: '商品信息', minWidth: 'auto', align: 'center', fixed: 'left',
     slots: { default: 'product_info' }
   },
   {
@@ -69,7 +69,7 @@ export const ProductColumns = [
 export const ProductMonitorColumns = [
   { type: 'checkbox', minWidth: 50, align: 'center', fixed: 'left' },
   {
-    field: 'product_info', title: '商品信息', minWidth: 260, align: 'center', fixed: 'left',
+    field: 'product_info', title: '商品信息', minWidth: 'auto', align: 'center', fixed: 'left',
     slots: { default: 'product_info' }
   },
   {
@@ -165,7 +165,7 @@ export const ProductMonitorColumns = [
 export const CompetitorMonitorColumns = [
   { type: 'checkbox', minWidth: 50, align: 'center', fixed: 'left' },
   {
-    field: 'product_info', title: '商品信息', minWidth: 260, align: 'center', fixed: 'left',
+    field: 'product_info', title: '商品信息', minWidth: 'auto', align: 'center', fixed: 'left',
     slots: { default: 'product_info' }
   },
   {