hookehuyr

菜单自适应显示优化

1 <!-- 1 <!--
2 * @Date: 2024-09-26 13:42:11 2 * @Date: 2024-09-26 13:42:11
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2024-10-21 12:59:17 4 + * @LastEditTime: 2024-10-21 13:42:16
5 * @FilePath: /hager/src/components/common/hagerHeader.vue 5 * @FilePath: /hager/src/components/common/hagerHeader.vue
6 * @Description: 文件描述 6 * @Description: 文件描述
7 --> 7 -->
...@@ -448,6 +448,7 @@ export default { ...@@ -448,6 +448,7 @@ export default {
448 }, 448 },
449 openMenu () { 449 openMenu () {
450 this.show_menu = !this.show_menu; 450 this.show_menu = !this.show_menu;
451 + // TAG: 解决body滚动被禁止
451 if (this.show_menu) { 452 if (this.show_menu) {
452 $('body').css('overflow', 'hidden'); 453 $('body').css('overflow', 'hidden');
453 } else { 454 } else {
......
This diff is collapsed. Click to expand it.