宇宙无敌M1处理器的MacBook Pro 4 lat temu
rodzic
commit
f9c7859ef5
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      pages/information/information.vue

+ 2 - 2
pages/information/information.vue

xqd xqd
@@ -51,7 +51,7 @@
 <script>
 	import { mapState, mapMutations, mapGetters, mapActions } from 'vuex';
 	import {
-		imgHost
+		imglocal
 	} from '@/common/env';
 	export default {
 			data() {
@@ -155,7 +155,7 @@
 				      that.imgList = res.tempFilePaths
 					  console.log('我是file:',res.tempFilePaths[0])
 					  that.$request.upload("Common/uploadFile",that.imgList[0],{}).then(res=>{
-						  that.url = imgHost+JSON.parse(res).data.url;
+						  that.url = imglocal+JSON.parse(res).data.url;
 						   console.log(that.url)
 					  })
 				     }