diff --git a/.env.local b/.env.local index 44c09a2f..1ca2ba93 100644 --- a/.env.local +++ b/.env.local @@ -25,3 +25,6 @@ VUE_APP_BAIDU_CODE = fadc1bd5db1a1d6f581df60a1807f8ab #线上预览 VUE_APP_ONLINE_API = 'http://139.224.253.31:48012' + +#线上预览 +VUE_APP_BIAO_API = 'http://139.224.253.31:48080' diff --git a/.env.prod b/.env.prod index 68059cd2..d75352ba 100644 --- a/.env.prod +++ b/.env.prod @@ -26,3 +26,6 @@ VUE_APP_BAIDU_CODE = fadc1bd5db1a1d6f581df60a1807f8ab #线上预览 VUE_APP_ONLINE_API = 'http://139.224.253.31:48012' + +#线上预览 +VUE_APP_BIAO_API = 'http://139.224.253.31:48080' diff --git a/src/components/iFrame/index.vue b/src/components/iFrame/index.vue index 426857fb..3ce6e79e 100644 --- a/src/components/iFrame/index.vue +++ b/src/components/iFrame/index.vue @@ -13,16 +13,19 @@ export default { props: { src: { type: String, - required: true + required: true, }, }, data() { return { height: document.documentElement.clientHeight - 94.5 + "px;", loading: true, - url: this.src + url: this.src, }; }, + created() { + console.log(this.url); + }, mounted: function () { setTimeout(() => { this.loading = false; @@ -31,6 +34,6 @@ export default { window.onresize = function temp() { that.height = document.documentElement.clientHeight - 94.5 + "px;"; }; - } + }, }; diff --git a/src/views/accounting/book/index.vue b/src/views/accounting/book/index.vue index 14ee386d..5bcfba5c 100644 --- a/src/views/accounting/book/index.vue +++ b/src/views/accounting/book/index.vue @@ -106,14 +106,14 @@ class-name="small-padding fixed-width" >