@@ -45,7 +45,7 @@
v-if="item.name == 'annex'"
:headers="myHeaders"
class="upload-demo"
- action="/api/files/avatar/upload"
+ action="/api/files/annex/upload"
:on-success="handleAnnexSuccess"
:on-remove="handleRemove"
:file-list="fileList">
@@ -22,12 +22,12 @@ module.exports = {
port: 3000,
proxy: {
'/api/': {
- // target: 'http://192.168.3.45:18090'
- target: 'http://127.0.0.1:18090'
+ target: 'http://skl.cc-lotus.info'
+ // target: 'http://127.0.0.1:18090'
},
'/upload/': {
- target: 'http://127.0.0.1:9002'
- // target: 'http://192.168.0.45:18090'
+ // target: 'http://127.0.0.1:9002'
}