Commit 35a1c029 by 胡悦

提交

1 parent b6310aa4
......@@ -443,6 +443,7 @@ export default {
console.log(params)
request.req(params).then(res => {
this.isEdit = !this.isEdit
notice.okTips()
}).catch(err => {
notice.errorTips(err)
})
......@@ -665,15 +666,15 @@ export default {
this.fileInfo.fileBase = e.target.result
console.log(this.fileInfo.fileType)
console.log(this.fileInfo.fileBase)
axios.post('http://192.168.3.217:9220/file/upstring', {
axios.post('http://gfs.test.glsx.com.cn/file/upstring', {
systemSign: '/mechantData',
fileType: _this.fileInfo.fileType,
uploadData: _this.fileInfo.fileBase
}, {
headers: {
'Content-Type': 'application/json; charset=utf-8'
},
requestType: 'jsonString'
// 'Content-Type': 'application/json; charset=utf-8'
}
// requestType: 'jsonString'
}).then(res => {
console.log(res)
}).catch(err => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!