修复一些问题

This commit is contained in:
SliverHorn
2020-11-07 22:50:01 +08:00
parent 4fa43c232d
commit c342e63e63
4 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -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",
+2 -2
View File
@@ -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;