Compare commits

...

2 Commits

1 changed files with 4 additions and 3 deletions

View File

@ -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
})
}
}