refactor(所有页面): ♻️ 所有页面的表格列宽优化

This commit is contained in:
猿小天
2023-04-10 09:45:25 +08:00
committed by H0nGzA1
parent a50f73d466
commit 175b151f7f
10 changed files with 190 additions and 71 deletions

View File

@@ -73,6 +73,9 @@ export const createCrudOptions = function ({ crudExpose, tabActivted }: { crudEx
show: true,
},
type: ['text', 'colspan'],
column:{
minWidth: 120,
},
form: {
rules: [
// 表单校验规则
@@ -103,7 +106,9 @@ export const createCrudOptions = function ({ crudExpose, tabActivted }: { crudEx
target_type: {
title: '目标类型',
type: ['dict-radio', 'colspan'],
width: 120,
column:{
minWidth: 120,
},
dict: dict({
data: [
{ value: 0, label: '按用户' },
@@ -134,7 +139,6 @@ export const createCrudOptions = function ({ crudExpose, tabActivted }: { crudEx
search: {
disabled: true,
},
width: 130,
form: {
component: {
name: shallowRef(tableSelector),