| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- import { ref } from "vue";
- export const userTableColumns = ref([
- {
- name:'account',
- label:'账号',
- width:'80',
- fixed:'',
- align:'center',
- minWidth:'',
- custom:false,
- },
- {
- name:'name',
- label:'姓名',
- width:'80',
- fixed:'',
- align:'center',
- minWidth:'',
- custom:false,
- },
- ])
- // 动态变更项 ————
- export const tableColumns = ref([
- {
- name: 'region', // 对应“项目组”列,通常作为行头
- label: '项目组',
- width: '80',
- fixed: 'left', // 建议固定首列,防止横向滚动时看不清区域
- align: 'center',
- minWidth: '',
- custom: false,
- },
- {
- name: 'project1',
- label: '项目组长',
- width: '320',
- fixed: '',
- align: 'left',
- minWidth: '',
- custom: true,
- },
-
- ]);
|