From 980ef2afde8cd3c98515f5c747fbcb0d35c0f618 Mon Sep 17 00:00:00 2001 From: bianyaqi Date: Tue, 14 May 2024 10:25:27 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/360View/followUpRecord/formList/invalid.vue | 2 +- src/components/360View/followUpRecord/formList/outFollow.vue | 2 +- src/components/360View/followUpRecord/formList/phoneFollow.vue | 2 +- src/components/360View/index.vue | 2 +- src/page-subspecialty/views/main.vue | 2 +- src/page-subspecialty/views/pages/login.vue | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/360View/followUpRecord/formList/invalid.vue b/src/components/360View/followUpRecord/formList/invalid.vue index 1a5a4cb..4dd4083 100644 --- a/src/components/360View/followUpRecord/formList/invalid.vue +++ b/src/components/360View/followUpRecord/formList/invalid.vue @@ -52,7 +52,7 @@ export default { } }, created() { - this.isDev = window.SITE_CONFIG['apiURL'].includes('47') + this.isDev = process.env.VUE_APP_LOGIN_URL.includes('47') if (this.jsonText) { this.radio = this.jsonText && JSON.parse(this.jsonText).radio } else { diff --git a/src/components/360View/followUpRecord/formList/outFollow.vue b/src/components/360View/followUpRecord/formList/outFollow.vue index c3c02cf..02d98c5 100644 --- a/src/components/360View/followUpRecord/formList/outFollow.vue +++ b/src/components/360View/followUpRecord/formList/outFollow.vue @@ -278,7 +278,7 @@ export default { } }, created() { - this.isDev = window.SITE_CONFIG['apiURL'].includes('47') + this.isDev = process.env.VUE_APP_LOGIN_URL.includes('47') // 初始化赋空 const data = { patientData: this.patientData, diff --git a/src/components/360View/followUpRecord/formList/phoneFollow.vue b/src/components/360View/followUpRecord/formList/phoneFollow.vue index 69aacc4..3027c13 100644 --- a/src/components/360View/followUpRecord/formList/phoneFollow.vue +++ b/src/components/360View/followUpRecord/formList/phoneFollow.vue @@ -151,7 +151,7 @@ export default { } }, created() { - this.isDev = window.SITE_CONFIG['apiURL'].includes('47') + this.isDev = process.env.VUE_APP_LOGIN_URL.includes('47') this.initData = _.cloneDeep(this.followData) if (this.jsonText) { this.followData = JSON.parse(this.jsonText) diff --git a/src/components/360View/index.vue b/src/components/360View/index.vue index 95cf3aa..edebc0e 100644 --- a/src/components/360View/index.vue +++ b/src/components/360View/index.vue @@ -329,7 +329,7 @@ export default { } }, created() { - this.isDev = window.SITE_CONFIG['apiURL'].includes('47') + this.isDev = process.env.VUE_APP_LOGIN_URL.includes('47') this.jzNumber = window.sessionStorage.getItem('jzNumber') this.infoHidden = this.$route.query.infoHidden && JSON.parse(this.$route.query.infoHidden) }, diff --git a/src/page-subspecialty/views/main.vue b/src/page-subspecialty/views/main.vue index 971eaf6..d618d53 100644 --- a/src/page-subspecialty/views/main.vue +++ b/src/page-subspecialty/views/main.vue @@ -44,7 +44,7 @@ export default { $route: 'routeHandle' }, created() { - this.isDev = window.SITE_CONFIG['apiURL'].includes('47') + this.isDev = process.env.VUE_APP_LOGIN_URL.includes('47') this.windowResizeHandle() this.routeHandle(this.$route) Promise.all([ diff --git a/src/page-subspecialty/views/pages/login.vue b/src/page-subspecialty/views/pages/login.vue index 757c640..aef7b40 100644 --- a/src/page-subspecialty/views/pages/login.vue +++ b/src/page-subspecialty/views/pages/login.vue @@ -102,7 +102,7 @@ export default { } }, created() { - this.isDev = window.SITE_CONFIG['apiURL'].includes('47') + this.isDev = process.env.VUE_APP_LOGIN_URL.includes('47') this.getCaptcha() }, methods: {