修复异常
This commit is contained in:
@@ -7,7 +7,7 @@ export default {
|
|||||||
return uni.getStorageSync('dicts') || [];
|
return uni.getStorageSync('dicts') || [];
|
||||||
},
|
},
|
||||||
load(...code) {
|
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
|
withoutToken: true
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
if (res && res.data) {
|
if (res && res.data) {
|
||||||
|
|||||||
Reference in New Issue
Block a user