fix: 修复一些问题
Some checks failed
CI / Test (ubuntu-latest) (push) Has been cancelled
CI / Test (windows-latest) (push) Has been cancelled
CI / Lint (ubuntu-latest) (push) Has been cancelled
CI / Lint (windows-latest) (push) Has been cancelled
CI / Check (ubuntu-latest) (push) Has been cancelled
CI / Check (windows-latest) (push) Has been cancelled
CI / CI OK (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
Deploy Website on push / Deploy Push Playground Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Docs Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Antd Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Element Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Naive Ftp (push) Has been cancelled
Deploy Website on push / Rerun on failure (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled

This commit is contained in:
2025-05-13 16:47:34 +08:00
parent 4eb2194415
commit 70ae0b0488
2 changed files with 7 additions and 4 deletions

View File

@@ -6,6 +6,7 @@ import { confirm, Page } from '@vben/common-ui';
import { Button, Card, Steps } from 'ant-design-vue';
import { useVbenForm } from '#/adapter/form';
import { downloadByData } from '#/util/tool';
import {
codeGenerationDownloadApi,
generationApi,
@@ -13,7 +14,6 @@ import {
import { codeGenerationForm } from '#/views/code-generation/config/form';
import CodeGenerationFiledTable from './components/fileds.vue';
import {downloadByData} from "#/util/tool";
const [Form, formApi] = useVbenForm(codeGenerationForm);

View File

@@ -25,10 +25,13 @@ export async function getMenuOption(data: any) {
/**
* 查询菜单树形下拉框
* @param data
*/
export async function getMenuTreeOption(data: any) {
return requestClient.get<any>(`${prefix}tree-option`, data);
export async function getMenuTreeOption() {
return requestClient.get<any>(`${prefix}tree-option`, {
params: {
is_select: true,
},
});
}
/**