Selaa lähdekoodia

外部URL菜单加载为空为空

zhangdaiscott 4 vuotta sitten
vanhempi
commit
892196fe9a

+ 2 - 0
ant-design-vue-jeecg/src/components/layouts/IframePageView.vue

@@ -44,6 +44,8 @@
           if(url.indexOf(tokenStr)!=-1) {
             let token = Vue.ls.get(ACCESS_TOKEN);
             this.url = url.replace(tokenStr, token);
+          } else {
+            this.url = url
           }
           //-----------------------------------------------------------------------------------------