update 优化 整体代码结构
This commit is contained in:
@ -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'
|
||||
});
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user