From 1acf8f1cdbd5983c44657d7be419ffe4361ebae5 Mon Sep 17 00:00:00 2001 From: MO <448233645@qq.com> Date: Thu, 12 Oct 2023 15:18:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=B0=E5=9D=80=E9=85=8D=E7=BD=AE=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.local | 3 +++ .env.prod | 3 +++ src/components/iFrame/index.vue | 9 ++++++--- src/views/accounting/book/index.vue | 4 ++-- src/views/report/jmreport/index.vue | 7 +++++-- 5 files changed, 19 insertions(+), 7 deletions(-) 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" >