|
@@ -203,19 +203,19 @@ export default {
|
|
|
}
|
|
|
this.categoryName=this.$route.query.categoryName
|
|
|
}
|
|
|
-
|
|
|
if(this.$route.query.isBack) {
|
|
|
- this.categoryValue = []
|
|
|
- if(this.$route.query.categoryId!=undefined){
|
|
|
- this.categoryId=this.$route.query.categoryId
|
|
|
- this.categoryValue=[this.$route.query.parentp,this.$route.query.parent,this.$route.query.categoryId]
|
|
|
- }else if(this.$route.query.parent!=undefined){
|
|
|
- this.categoryId=this.$route.query.parent
|
|
|
- this.categoryValue=[this.$route.query.parentp,this.$route.query.parent]
|
|
|
- }else{
|
|
|
- this.categoryId=this.$route.query.parentp
|
|
|
- this.categoryValue.push(this.$route.query.parentp)
|
|
|
- }
|
|
|
+ // this.categoryValue = []
|
|
|
+ // if(this.$route.query.categoryId!=undefined){
|
|
|
+ // this.categoryId=this.$route.query.categoryId
|
|
|
+ // this.categoryValue=[this.$route.query.parentp,this.$route.query.parent,this.$route.query.categoryId]
|
|
|
+ // }else if(this.$route.query.parent!=undefined){
|
|
|
+ // this.categoryId=this.$route.query.parent
|
|
|
+ // this.categoryValue=[this.$route.query.parentp,this.$route.query.parent]
|
|
|
+ // }else{
|
|
|
+ // this.categoryId=this.$route.query.parentp
|
|
|
+ // this.categoryValue.push(this.$route.query.parentp)
|
|
|
+ // }
|
|
|
+ this.categoryValue = this.$route.query.categoryId.split(',')
|
|
|
// console.log(this.$route.query.categoryName)
|
|
|
if(this.$route.query.categoryName) {
|
|
|
this.categoryName=this.$route.query.categoryName
|