fixes js http client

This commit is contained in:
huangjx
2022-05-04 11:59:31 +08:00
parent 840c672c09
commit f51ad10014
9 changed files with 127 additions and 42 deletions

View File

@@ -70,7 +70,7 @@ export default {
data[name] = value ? 1 : 0;
let path = (name == "ncd_disable_bt") ? "/admin/save" : "/personal/save";
const url = helper.generateUrl(basePath + path);
Http.getInstance(url)
helper.httpClient(url)
.setData(data)
.setHandler((resp) => {
if (resp["message"]) {