修复一些问题
This commit is contained in:
@@ -58,7 +58,7 @@ export const getTable = (params) => {
|
||||
// @accept application/json
|
||||
// @Produce application/json
|
||||
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
|
||||
// @Router /autoCode/getColume [get]
|
||||
// @Router /autoCode/getColumn [get]
|
||||
export const getColumn = (params) => {
|
||||
return service({
|
||||
url: "/autoCode/getColumn",
|
||||
|
||||
@@ -349,8 +349,8 @@ export default {
|
||||
}
|
||||
},
|
||||
async setFdMap() {
|
||||
const fdTpyes = ["string", "int", "bool", "float64", "time.Time"];
|
||||
fdTpyes.map(async fdtype => {
|
||||
const fdTypes= ["string", "int", "bool", "float64", "time.Time"];
|
||||
fdTypes.map(async fdtype => {
|
||||
const res = await getDict(fdtype);
|
||||
res.map(item => {
|
||||
this.fdMap[item.label] = fdtype;
|
||||
|
||||
Reference in New Issue
Block a user