update 优化 整体代码结构

This commit is contained in:
疯狂的狮子Li
2023-08-11 17:58:58 +08:00
parent 73df6a1b30
commit f3195be732
16 changed files with 62 additions and 68 deletions

View File

@ -37,7 +37,7 @@ export const updateGenTable = (data: DbTableForm) => {
};
// 导入表
export const importTable = (data: { tables: string, dataName: string }) => {
export const importTable = (data: { tables: string; dataName: string }) => {
return request({
url: '/tool/gen/importTable',
method: 'post',
@ -83,4 +83,4 @@ export const getDataNames = () => {
url: '/tool/gen/getDataNames',
method: 'get'
});
};
};