feat: 增加vben5代码生成;初始化hazard模块;

master
wangrunpu 1 month ago
parent 1519a325fd
commit ea577bfd89

@ -29,7 +29,7 @@ const exTarColumns: VxeGridProps["columns"] = [
fixed: 'left',
width: 60,
slots: {
header: ({ row }) => {
header: ({ _row }) => {
const selectArr = tableApi.grid.getCheckboxRecords();
const { visibleData } = tableApi.grid.getTableData();
return [
@ -104,7 +104,7 @@ const gridOptions: VxeGridProps = {
},
// 需要使用i18n注意这里要改成getter形式 否则切换语言不会刷新
// columns: columns(),
columns: exTarColumns.concat(columns),
columns: [...exTarColumns, ...columns],
border: true,
height: 'auto',
keepSource: true,

Loading…
Cancel
Save