This commit is contained in:
parent
5a1dd7ad30
commit
9b17bffbe7
11
dict/Dict.js
11
dict/Dict.js
|
@ -175,17 +175,12 @@ export default class Dict {
|
|||
}
|
||||
|
||||
|
||||
function getRequest(options,apiurl) {
|
||||
if(apiurl&&apiurl!=""){
|
||||
function getRequest(options,apiurl) {
|
||||
return request({
|
||||
url: apiurl,
|
||||
url: apiurl||"/api/sysdict/get_dict",
|
||||
method: 'post',
|
||||
data: {dict_code:Array.isArray(options)?dictType:[options]}
|
||||
})
|
||||
}else{
|
||||
return getDicts(options);
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue