|
|
@@ -1,18 +1,12 @@
|
|
|
Page({
|
|
|
data: {
|
|
|
- account_list: ""
|
|
|
+ account_list: wx.getStorageSync('account_list')
|
|
|
},
|
|
|
toHome(e) {
|
|
|
- const {
|
|
|
- item
|
|
|
- } = e.currentTarget.dataset;
|
|
|
- wx.setStorageSync('userMsg', item);
|
|
|
+ wx.setStorageSync('userMsg', e.currentTarget.dataset.item);
|
|
|
require('./modules/login').init();
|
|
|
},
|
|
|
onShow() {
|
|
|
- this.setData({
|
|
|
- account_list: wx.getStorageSync('account_list')
|
|
|
- })
|
|
|
if (wx.getStorageSync('languagecode') != 'ZH') wx.setNavigationBarTitle({
|
|
|
title: getApp().globalData.Language.getMapText('选择站点')
|
|
|
})
|