提交 8697a9a8 编写于 作者: D DCloud_LXH

fix: dcloud search

上级 e63b849e
......@@ -349,6 +349,7 @@
},
switchCategory(index) {
this.curHits = 0;
this.categoryIndex = index;
this.research(1);
},
......
......@@ -9,7 +9,7 @@ function ajax(url = '', method = 'get',) {
xhr.open(method, url);
xhr.onreadystatechange = function () {
if (this.readyState == 4 && this.status == 200) {
console.log('this :>> ', this);
resolve(this.response)
}
}
xhr.send()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册