Commit 01bbb21b authored by lixy's avatar lixy

旅游、营地 全部排序

parent 4aa4bda6
...@@ -123,7 +123,7 @@ export default { ...@@ -123,7 +123,7 @@ export default {
data: { data } data: { data }
} = await axios.get("/api/campsite/campsiteTag/app/unauth/tags"); } = await axios.get("/api/campsite/campsiteTag/app/unauth/tags");
// console.log(data); // console.log(data);
data.push({id:"",name:'全部'}) data.unshift({id:"",name:'全部'})
this.dataType = data; this.dataType = data;
}, },
async getAll() { async getAll() {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
const { const {
data: { data } data: { data }
} = await axios.get("/api/uccn/app/unauth/tour/tagList" ); } = await axios.get("/api/uccn/app/unauth/tour/tagList" );
data.push({id:"",name:'全部'}) data.unshift({id:"",name:'全部'})
this.dataType = data; this.dataType = data;
console.log(data); console.log(data);
this.loading = false this.loading = false
......
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