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

@@ -23,7 +23,7 @@ export default {
}
let data = { ncd_downloader_dir: path };
let url = helper.generateUrl("/apps/ncdownloader/personal/save");
Http.getInstance(url)
helper.httpClient(url)
.setData(data)
.setHandler((data) => {
if (data.status) {