|
|
@@ -27,6 +27,14 @@ function initWorkbench(that) {
|
|
|
icon: "work-E-fuwu",
|
|
|
list: apps.geteservice()
|
|
|
}];
|
|
|
+ if (wx.getStorageSync('languagecode') != 'ZH') {
|
|
|
+ const language = getApp().globalData.Language;
|
|
|
+ entrance = entrance.map(v => {
|
|
|
+ v.label = language.getMapText(v.label)
|
|
|
+ return v
|
|
|
+ })
|
|
|
+ }
|
|
|
+
|
|
|
wx.setStorageSync('auth', apps.authList)
|
|
|
that.setData({
|
|
|
entrance,
|