Browse Source

fix: onshow select index

wangyuan 2 năm trước cách đây
mục cha
commit
2f2c6e4199
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      pages/index/index.js

+ 1 - 0
pages/index/index.js

@@ -32,6 +32,7 @@ Page({
    * 生命周期函数--监听页面显示
    */
   onShow() {
+    app.globalData.selectedInex = 0
     this.handleToken()
   },
   handleToken () {