修复bug
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user