|
@@ -72,17 +72,21 @@ var fleaMarketList = new Vue({
|
|
|
handle: function (item) {//一級分类
|
|
|
var _this = this;
|
|
|
_this.currentId = item.value;
|
|
|
- _this.currentID2 = 0;
|
|
|
+ // _this.currentID2 = 0;
|
|
|
if ( _this.currentId==1){
|
|
|
_this.mainflag = true;
|
|
|
}else {
|
|
|
_this.mainflag=false;
|
|
|
+ _this.currentID2 = 0;
|
|
|
}
|
|
|
_this.gettabList();
|
|
|
},
|
|
|
handleChild:function(item){ //二级分类
|
|
|
var _this = this;
|
|
|
_this.currentID2 = item.value;
|
|
|
+ if (_this.currentID2==item.value){
|
|
|
+ _this.mainflag=false;
|
|
|
+ }
|
|
|
_this.gettabList();
|
|
|
},
|
|
|
gettabList:function () {
|