修复异常
This commit is contained in:
@@ -7,7 +7,7 @@ export default {
|
||||
return uni.getStorageSync('dicts') || [];
|
||||
},
|
||||
load(...code) {
|
||||
return this.instance?.post('/admin/dictionary/queryValsByCodeList?codeList=' + code.join(','), null, {
|
||||
return !!this.instance && this.instance.post('/admin/dictionary/queryValsByCodeList?codeList=' + code.join(','), null, {
|
||||
withoutToken: true
|
||||
}).then((res) => {
|
||||
if (res && res.data) {
|
||||
|
||||
Reference in New Issue
Block a user