Browse Source

Merge pull request #61 from kkwwang/patch-1

Update main-sidebar.vue
daxiongYang 6 years ago
parent
commit
c4b49d6888
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/views/main-sidebar.vue

+ 3 - 1
src/views/main-sidebar.vue

97
              name: route.name,
97
              name: route.name,
98
              title: route.meta.title,
98
              title: route.meta.title,
99
              type: isURL(route.meta.iframeUrl) ? 'iframe' : 'module',
99
              type: isURL(route.meta.iframeUrl) ? 'iframe' : 'module',
100
              iframeUrl: route.meta.iframeUrl || ''
100
              iframeUrl: route.meta.iframeUrl || '',
101
              params: route.params,
102
              query: route.query
101
            }
103
            }
102
            this.mainTabs = this.mainTabs.concat(tab)
104
            this.mainTabs = this.mainTabs.concat(tab)
103
          }
105
          }