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

master
wangrunpu 2 months ago
parent 1519a325fd
commit ea577bfd89

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

Loading…
Cancel
Save