@@ -1,6 +1,5 @@
// pages/index/index.js
import { homePage } from '../../api/index'
-import { userEntityRecharge } from '../../api/charge'
import { createQRcode } from "../../api/document";
const app = getApp()
Page({
@@ -21,6 +20,7 @@ Page({
},
onShow () {
+ app.globalData.selectedInex = 0
if (app.globalData.userInfo.login) {
this.initIndexData()
} else {
@@ -72,12 +72,12 @@ Page({
url: '/pages/set/set?form=my',
imgUrl: '../../imaes/shezhi@2x.png'
- {
+ /* {
id: 7,
title: '测试页面',
url: '/pages/aatest/test',
- }
+ } */
]
@@ -15,6 +15,7 @@ Page({
* 生命周期函数--监听页面显示
*/
onShow() {
+ app.globalData.selectedInex = 1
this.getMyReportList()