Prechádzať zdrojové kódy

style: 表格列宽度足够用删除fixed: 'right'\fixed: 'left'

wanggaokun 3 týždňov pred
rodič
commit
a3aff89e14
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      src/views/demo/data/index.vue

+ 2 - 2
src/views/demo/data/index.vue

@@ -480,7 +480,7 @@ const openDialog = async (type: number, title: string, row?: any) => {
 
 // 表格配置项
 const columns = reactive<ColumnProps<any>[]>([
-  { type: 'selection', fixed: 'left', width: 70 },
+  { type: 'selection', width: 70 },
   { prop: 'yuan', label: '原图', width: 200 },
   {
     prop: 'batchNum',
@@ -581,7 +581,7 @@ const columns = reactive<ColumnProps<any>[]>([
     },
     width: 120
   },
-  { prop: 'operation', label: '操作', width: 230, fixed: 'right' }
+  { prop: 'operation', label: '操作', width: 230 }
 ])
 // 表单配置项
 let formItems: ProForm.ItemsOptions[] = []