Browse Source

修改社区查询显示异常问题

shibei_master
dai 4 years ago
parent
commit
f42f76f1b3
  1. 3
      src/views/main.vue
  2. 12
      src/views/modules/shequ/index.vue

3
src/views/main.vue

@ -65,6 +65,9 @@ export default {
$route: "routeHandle",
},
async created() {
this.$store.state.sidebarMenuList = window.SITE_CONFIG["menuList"];
console.log(this.$store.state.sidebarMenuList);
this.windowResizeHandle();
this.routeHandle(this.$route);
Promise.all([this.getWorkUserInfo()]).then(() => {

12
src/views/modules/shequ/index.vue

@ -355,7 +355,13 @@
</div>
<!-- 修改弹出框 -->
<div v-show="showedFuncPanel">
<div
v-show="showedFuncPanel"
v-if="
Array.isArray($store.state.sidebarMenuList) &&
$store.state.sidebarMenuList.length > 0
"
>
<div class="m-panel">
<div
class="m-list"
@ -711,6 +717,10 @@ export default {
},
mounted() {
this.getApiData();
console.log(
"dynamicMenuRoutes----------------------------",
this.$store.state.sidebarMenuList
);
},
methods: {
computedWidth(label) {

Loading…
Cancel
Save