Skip to content

Commit f65a944

Browse files
committed
more localization from chinese to english
1 parent 975728c commit f65a944

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

vue/src/views/Main.vue

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@
148148
},
149149
handleClickUserDropdown (name) {
150150
if (name === 'loginout') {
151-
// 退出登录
152151
this.$store.commit('clearOpenedSubmenu');
153152
this.$store.commit('user/logout', this);
154153
}
@@ -159,23 +158,19 @@
159158
return true;
160159
}
161160
});
162-
if (!openpageHasTag) { // 解决关闭当前标签后再点击回退按钮会退到当前页时没有标签的问题
161+
162+
if (!openpageHasTag) {
163163
util.openNewPage(this, name, this.$route.params || {}, this.$route.query || {});
164164
}
165165
},
166166
handleSubmenuChange (val) {
167-
// console.log(val)
167+
168168
},
169169
beforePush (name) {
170-
// if (name === 'accesstest_index') {
171-
// return false;
172-
// } else {
173-
// return true;
174-
// }
175170
return true;
176171
},
177172
fullscreenChange (isFullScreen) {
178-
// console.log(isFullScreen);
173+
179174
}
180175
},
181176
watch: {
@@ -190,7 +185,7 @@
190185
localStorage.currentPageName = to.name;
191186
},
192187
lang () {
193-
util.setCurrentPath(this, this.$route.name); // 在切换语言时用于刷新面包屑
188+
util.setCurrentPath(this, this.$route.name); // Used to refresh the breadcrumbs when switching languages
194189
}
195190
},
196191
mounted () {
@@ -204,7 +199,7 @@
204199
// }
205200
},
206201
created () {
207-
// 显示打开的页面的列表
202+
// Display a list of open pages
208203
this.$store.commit('setOpenedList');
209204
}
210205
};

0 commit comments

Comments
 (0)