diff --git a/.env.development b/.env.development index 1cd11a20..72dca223 100644 --- a/.env.development +++ b/.env.development @@ -5,7 +5,8 @@ NODE_ENV = 'development' VUE_APP_BASE_PATH = '/' VUE_APP_IS_TEST = false - +# onlyoffice地址 +VUE_APP_ONLYOFFICE_URL = "https://onlyoffice.test.extimaging.com" # base api VUE_APP_BASE_API = 'http://123.56.94.154:7000' diff --git a/.env.prod b/.env.prod index 2f8d7ea6..9e55b50c 100644 --- a/.env.prod +++ b/.env.prod @@ -5,6 +5,9 @@ NODE_ENV = 'prod' # base public path VUE_APP_BASE_PATH = '/' +# onlyoffice地址 +VUE_APP_ONLYOFFICE_URL = "https://onlyoffice.test.extimaging.com" + # 是否开启登陆限制 true:是 false:否 VUE_APP_LOGIN_FOR_PERMISSION = true diff --git a/.env.uat b/.env.uat index b4586518..0d2a97e5 100644 --- a/.env.uat +++ b/.env.uat @@ -4,6 +4,9 @@ NODE_ENV = 'production' # base public path VUE_APP_BASE_PATH = '/' +# onlyoffice地址 +VUE_APP_ONLYOFFICE_URL = "https://onlyoffice.test.extimaging.com" + # base public path VUE_APP_BASE_PATH = '/' diff --git a/src/components/Preview_onlyoffice/index.vue b/src/components/Preview_onlyoffice/index.vue index ae94ac95..afebb1af 100644 --- a/src/components/Preview_onlyoffice/index.vue +++ b/src/components/Preview_onlyoffice/index.vue @@ -3,7 +3,7 @@ custom-class="base-dialog-wrapper" @close="handleClose">