Explorar o código

fix: onshow select index

wangyuan %!s(int64=2) %!d(string=hai) anos
pai
achega
2f2c6e4199
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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 () {