mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat: 测试代码生成
This commit is contained in:
@ -218,7 +218,7 @@ async function handleGenCode(row?: Api.Tool.GenTable) {
|
||||
if (error) return;
|
||||
window.$message?.success('生成成功');
|
||||
} else {
|
||||
zip(`/tool/gen/batchGenCode?tableIdStr=${tableIds}`, `ruoyi-${new Date().getTime()}.zip`);
|
||||
zip(`/tool/gen/batchGenCode?tableIdStr=${tableIds}`, `RuoYi-${row?.tableId ? `${row.className}` : Date.now()}.zip`);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -269,6 +269,7 @@ const columns: NaiveUI.TableColumn<Api.Tool.GenTableColumn>[] = [
|
||||
consistent-menu-width={false}
|
||||
render-label={renderLabel}
|
||||
render-tag={renderTag}
|
||||
clearable
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user