This commit is contained in:
parent
5a1dd7ad30
commit
9b17bffbe7
|
@ -176,16 +176,11 @@ export default class Dict {
|
|||
|
||||
|
||||
function getRequest(options,apiurl) {
|
||||
if(apiurl&&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