linwenxin 1 år sedan
förälder
incheckning
7e98c65eeb
3 ändrade filer med 3 tillägg och 3 borttagningar
  1. 1 1
      .env.development
  2. 1 1
      .env.production
  3. 1 1
      src/components/v-quill-editor/index.vue

+ 1 - 1
.env.development

@@ -4,7 +4,7 @@ ENV = 'development'
 VUE_APP_BASE = 'https://jiasm.zfire.top'
 # base api
 
-VUE_APP_BASE_OSS = 'https://jiasm.zfire.top/zfapi/img/get?key='
+VUE_APP_BASE_OSS = 'https://train-2023.oss-cn-shenzhen.aliyuncs.com/'
 
 VUE_APP_BASE_API = 'https://jiasm.zfire.top/zfapi/'
 

+ 1 - 1
.env.production

@@ -7,7 +7,7 @@ VUE_APP_ENV = 'production'
 #base
 VUE_APP_BASE = 'https://sxb.zfire.top'
 
-VUE_APP_BASE_OSS = 'https://sxb.zfire.top/zfapi/img/get?key='
+VUE_APP_BASE_OSS = 'https://zf-mall.oss-cn-shenzhen.aliyuncs.com/'
 
 # base api
 VUE_APP_BASE_API = 'https://sxb.zfire.top/zfapi/'

+ 1 - 1
src/components/v-quill-editor/index.vue

@@ -106,7 +106,7 @@ export default {
   methods: {
     getFiles(fileList) {
       fileList.forEach(item => {
-        this.editorImages.push(this.$imageUrl + item.url)
+        this.editorImages.push(item.url)
       })
       this.showFileUpload = false
       this.$nextTick(() => {