style: 优化部分表格列宽度样式

This commit is contained in:
2024-10-28 22:06:44 +08:00
parent 9e5dff144b
commit b908f14b33
8 changed files with 31 additions and 32 deletions

View File

@@ -126,14 +126,14 @@ const dataList = computed(() => {
})
const columns: TableInstanceColumns[] = [
{ title: '菜单标题', dataIndex: 'title', slotName: 'title', width: 170, fixed: !isMobile() ? 'left' : undefined },
{ title: '菜单标题', dataIndex: 'title', slotName: 'title', minWidth: 170, fixed: !isMobile() ? 'left' : undefined },
{ title: '类型', slotName: 'type', align: 'center' },
{ title: '状态', slotName: 'status', align: 'center' },
{ title: '排序', dataIndex: 'sort', align: 'center', show: false },
{ title: '路由地址', dataIndex: 'path', ellipsis: true, tooltip: true },
{ title: '组件名称', dataIndex: 'name', ellipsis: true, tooltip: true },
{ title: '组件路径', dataIndex: 'component', width: 180, ellipsis: true, tooltip: true },
{ title: '权限标识', dataIndex: 'permission', width: 180, ellipsis: true, tooltip: true },
{ title: '组件路径', dataIndex: 'component', minWidth: 180, ellipsis: true, tooltip: true },
{ title: '权限标识', dataIndex: 'permission', minWidth: 180, ellipsis: true, tooltip: true },
{ title: '外链', slotName: 'isExternal', align: 'center' },
{ title: '隐藏', slotName: 'isHidden', align: 'center' },
{ title: '缓存', slotName: 'isCache', align: 'center' },