菜单栏bug修复
This commit is contained in:
parent
a139bd809b
commit
8e6fac427b
|
@ -2,7 +2,7 @@
|
|||
* @Author: kongjun qdkongjun@gmail.com
|
||||
* @Date: 2022-06-20 09:29:59
|
||||
* @LastEditors: hisense.wuhongjian
|
||||
* @LastEditTime: 2022-10-18 15:34:00
|
||||
* @LastEditTime: 2022-10-18 15:46:51
|
||||
* @FilePath: \back\src\views\main-sidebar.vue
|
||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
-->
|
||||
|
@ -31,7 +31,7 @@
|
|||
</el-menu>
|
||||
</div>
|
||||
</aside>
|
||||
</template>\
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import http from '@/utils/request'
|
||||
|
@ -49,7 +49,7 @@ export default {
|
|||
},
|
||||
created () {
|
||||
this.getNum()
|
||||
this.$store.state.sidebarMenuList = window.SITE_CONFIG.menuList
|
||||
// this.$store.state.sidebarMenuList = window.SITE_CONFIG.menuList
|
||||
// 更新我的待办得数量
|
||||
bus.$off('updateTaskNum')
|
||||
bus.$on('updateTaskNum', () => {
|
||||
|
@ -96,6 +96,7 @@ export default {
|
|||
menu.total = daibanNum
|
||||
}
|
||||
}
|
||||
this.$store.state.sidebarMenuList = menuList
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue