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 148148 },
149149 handleClickUserDropdown (name ) {
150150 if (name === ' loginout' ) {
151- // 退出登录
152151 this .$store .commit (' clearOpenedSubmenu' );
153152 this .$store .commit (' user/logout' , this );
154153 }
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: {
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 () {
204199 // }
205200 },
206201 created () {
207- // 显示打开的页面的列表
202+ // Display a list of open pages
208203 this .$store .commit (' setOpenedList' );
209204 }
210205 };
You can’t perform that action at this time.
0 commit comments