xiongzhu há 3 anos atrás
pai
commit
f91b2b050f
2 ficheiros alterados com 2 adições e 2 exclusões
  1. 1 1
      .env.development
  2. 1 1
      src/views/user/ReportAdd.vue

+ 1 - 1
.env.development

@@ -1,4 +1,4 @@
-VUE_APP_BASE_URL=https://yags.raex.vip
+VUE_APP_BASE_URL=https://test.yags.raex.vip
 NODE_ENV=development
 VUE_APP_PUBLIC_PATH=/
 ASSETS_PATH=raex

+ 1 - 1
src/views/user/ReportAdd.vue

@@ -82,7 +82,7 @@ export default {
                 return item.url;
             });
             this.$http
-                .post('/report/create', form)
+                .post('/report/create', { ...form, pic: form.pic.join() })
                 .then(res => {
                     this.$toast.clear();
                     this.$dialog