防止字典重复请求,减少网络请求
This commit is contained in:
@ -51,7 +51,7 @@ export default class Dict {
|
|||||||
if (dictMeta === undefined) {
|
if (dictMeta === undefined) {
|
||||||
return Promise.reject(`the dict meta of ${type} was not found`)
|
return Promise.reject(`the dict meta of ${type} was not found`)
|
||||||
}
|
}
|
||||||
return loadDict(this, dictMeta)
|
return removal(this, dictMeta)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user