| xqd
@@ -51,7 +51,7 @@
|
|
|
<script>
|
|
|
import { mapState, mapMutations, mapGetters, mapActions } from 'vuex';
|
|
|
import {
|
|
|
- imgHost
|
|
|
+ imglocal
|
|
|
} from '@/common/env';
|
|
|
export default {
|
|
|
data() {
|
| xqd
@@ -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)
|
|
|
})
|
|
|
}
|