feat: 新增菜单 sql 替换文件

This commit is contained in:
xlsea
2025-05-10 10:09:24 +08:00
parent 7a27cdb3ab
commit df4866b5f5
7 changed files with 481 additions and 3 deletions

View File

@ -149,7 +149,7 @@ async function handleSubmit() {
let component = model.component;
if (isFrame !== '1') {
component = 'iframe-page';
path = !model.path?.startsWith('/') ? `/${model.path}` : model.path;
path = model.path;
} else if (model.menuType === 'C') {
component = humpToLine(model.component?.replaceAll('/', '_') || '');
} else if (model.menuType === 'M') {