File tree Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Original file line number Diff line number Diff line change 148
148
},
149
149
handleClickUserDropdown (name ) {
150
150
if (name === ' loginout' ) {
151
- // 退出登录
152
151
this .$store .commit (' clearOpenedSubmenu' );
153
152
this .$store .commit (' user/logout' , this );
154
153
}
159
158
return true ;
160
159
}
161
160
});
162
- if (! openpageHasTag) { // 解决关闭当前标签后再点击回退按钮会退到当前页时没有标签的问题
161
+
162
+ if (! openpageHasTag) {
163
163
util .openNewPage (this , name, this .$route .params || {}, this .$route .query || {});
164
164
}
165
165
},
166
166
handleSubmenuChange (val ) {
167
- // console.log(val)
167
+
168
168
},
169
169
beforePush (name ) {
170
- // if (name === 'accesstest_index') {
171
- // return false;
172
- // } else {
173
- // return true;
174
- // }
175
170
return true ;
176
171
},
177
172
fullscreenChange (isFullScreen ) {
178
- // console.log(isFullScreen);
173
+
179
174
}
180
175
},
181
176
watch: {
190
185
localStorage .currentPageName = to .name ;
191
186
},
192
187
lang () {
193
- util .setCurrentPath (this , this .$route .name ); // 在切换语言时用于刷新面包屑
188
+ util .setCurrentPath (this , this .$route .name ); // Used to refresh the breadcrumbs when switching languages
194
189
}
195
190
},
196
191
mounted () {
204
199
// }
205
200
},
206
201
created () {
207
- // 显示打开的页面的列表
202
+ // Display a list of open pages
208
203
this .$store .commit (' setOpenedList' );
209
204
}
210
205
};
You can’t perform that action at this time.
0 commit comments