Commit 3474d430 authored by lixy's avatar lixy

搜索

parent 06714c12
...@@ -52,6 +52,7 @@ export default { ...@@ -52,6 +52,7 @@ export default {
}, },
methods: { methods: {
async getAll() { async getAll() {
this.listQuery.keyword = this.$route.query.keywords;
let { let {
data: { data } data: { data }
} = await axios.get( } = await axios.get(
...@@ -68,7 +69,7 @@ export default { ...@@ -68,7 +69,7 @@ export default {
allNum = allNum + this.findList[i].number; allNum = allNum + this.findList[i].number;
} }
this.findList[0].number = allNum; this.findList[0].number = allNum;
} }
} }
}; };
......
...@@ -32,7 +32,8 @@ ...@@ -32,7 +32,8 @@
"swiper": "^4.0.7", "swiper": "^4.0.7",
"v-viewer": "^1.4.2", "v-viewer": "^1.4.2",
"vue-infinite-loading": "^2.4.4", "vue-infinite-loading": "^2.4.4",
"vue-infinite-scroll": "^2.0.2" "vue-infinite-scroll": "^2.0.2",
"vue-router": "^3.0.7"
}, },
"devDependencies": { "devDependencies": {
"across-env": "^2.0.1", "across-env": "^2.0.1",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment