Commit 3462ac37a39daabde7e15381e66d17b5708fd4e3
1 parent
2498f7d0
tab切换初始化tab按钮的初始化值
Showing
1 changed file
with
4 additions
and
0 deletions
src/pages/myGiftBox/myGiftBox.vue
| ... | ... | @@ -202,11 +202,15 @@ export default { |
| 202 | 202 | // this.loading = false; |
| 203 | 203 | this.btnActive = 0; // 切换送礼和收礼时;初始化tab默认都为全部 |
| 204 | 204 | if (active == 0) { |
| 205 | + // 收礼列表初始化tab按钮筛选默认为0 | |
| 206 | + this.receivingGiftStatue = 0; | |
| 205 | 207 | // 收礼订单列表 |
| 206 | 208 | this.getorderGiftList(); |
| 207 | 209 | // 调用im是否显示隐藏1显示im聊天弹窗0不显示 |
| 208 | 210 | this.setGiftBottomVisibleBySwitchTab(0); |
| 209 | 211 | } else { |
| 212 | + //送礼列表初始化tab按钮筛选默认为0 | |
| 213 | + this.giveGifStatue = 0; | |
| 210 | 214 | // 调用im是否显示隐藏1显示im聊天弹窗0不显示 |
| 211 | 215 | this.setGiftBottomVisibleBySwitchTab(1); |
| 212 | 216 | // 送礼订单列表 | ... | ... |