修复一些问题

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

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;