Commit b7f251c8 authored by dragondean@qq.com's avatar dragondean@qq.com

修复商品类型跳转到商品列表不更新数据

parent f6d27bf4
...@@ -326,7 +326,12 @@ export default { ...@@ -326,7 +326,12 @@ export default {
} }
}, },
activated(){
if(this.$route.query.typeId != this.queryParams.typeId){
this.queryParams.typeId = this.$route.query.typeId
}
this.getList()
},
created() { created() {
let typeId = this.$route.query.typeId; let typeId = this.$route.query.typeId;
if (typeId) { if (typeId) {
......
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