mirror of
https://gitee.com/zongzhige/shopxo-uniapp.git
synced 2026-06-06 02:38:52 +08:00
问答首页tab切换type错误修复
This commit is contained in:
@ -299,13 +299,10 @@
|
||||
},
|
||||
|
||||
nav_change_event(e) {
|
||||
// 索引值
|
||||
var index = e.currentTarget.dataset.index || 0;
|
||||
var type = e.currentTarget.dataset.type || 0;
|
||||
this.setData({
|
||||
nav_index: e.currentTarget.dataset.index,
|
||||
nav_type: e.currentTarget.dataset.type,
|
||||
data_list: [],
|
||||
nav_index: index,
|
||||
nav_type: type,
|
||||
data_page: 1,
|
||||
});
|
||||
this.reset_scroll();
|
||||
|
||||
Reference in New Issue
Block a user