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