修复bug

This commit is contained in:
宋伟佳
2021-07-21 16:39:46 +08:00
parent 4c4541cd63
commit 2c988a3f76
2 changed files with 7 additions and 4 deletions
@@ -1064,6 +1064,7 @@ export default {
//提交事件
handleSubmit() {
let json = this.listForm;
console.log(this.fileInfoList);
console.log(this.fileInfoList.join(','));
this.listForm.fileId = this.fileInfoList.join(',')
this.listForm.fileName = this.fileListName.join(',')
@@ -1128,9 +1129,11 @@ export default {
middle.push(item.name)
})
this.fileListName = middle
this.fileInfoList = fileList
this.fileInfoList[this.fileInfoList.length - 1].id = res.data.id
this.$message.success('上传成功')
let files = []
this.flielist
// this.fileInfoList = fileList
// this.fileInfoList[this.fileInfoList.length - 1].id = res.data.id
// this.$message.success('上传成功')
} else {
this.$message.error(res.message)
fileList.pop()
+1 -1
View File
@@ -7,7 +7,7 @@
// const devIp = '39.98.140.126'
// const devInterfacePORT = '10005'
// const devIp = '192.168.10.248'
const devIp = '192.168.1.102'
const devIp = '10.96.170.173'
const devInterfacePORT = '9999'
// 云端端口号
const DEV_CLOUD_RES_INTERFACE_PORT = '7777'