修复bug
This commit is contained in:
@@ -1064,6 +1064,7 @@ export default {
|
|||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
let json = this.listForm;
|
let json = this.listForm;
|
||||||
|
console.log(this.fileInfoList);
|
||||||
console.log(this.fileInfoList.join(','));
|
console.log(this.fileInfoList.join(','));
|
||||||
this.listForm.fileId = this.fileInfoList.join(',')
|
this.listForm.fileId = this.fileInfoList.join(',')
|
||||||
this.listForm.fileName = this.fileListName.join(',')
|
this.listForm.fileName = this.fileListName.join(',')
|
||||||
@@ -1128,9 +1129,11 @@ export default {
|
|||||||
middle.push(item.name)
|
middle.push(item.name)
|
||||||
})
|
})
|
||||||
this.fileListName = middle
|
this.fileListName = middle
|
||||||
this.fileInfoList = fileList
|
let files = []
|
||||||
this.fileInfoList[this.fileInfoList.length - 1].id = res.data.id
|
this.flielist
|
||||||
this.$message.success('上传成功')
|
// this.fileInfoList = fileList
|
||||||
|
// this.fileInfoList[this.fileInfoList.length - 1].id = res.data.id
|
||||||
|
// this.$message.success('上传成功')
|
||||||
} else {
|
} else {
|
||||||
this.$message.error(res.message)
|
this.$message.error(res.message)
|
||||||
fileList.pop()
|
fileList.pop()
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
// const devIp = '39.98.140.126'
|
// const devIp = '39.98.140.126'
|
||||||
// const devInterfacePORT = '10005'
|
// const devInterfacePORT = '10005'
|
||||||
// const devIp = '192.168.10.248'
|
// const devIp = '192.168.10.248'
|
||||||
const devIp = '192.168.1.102'
|
const devIp = '10.96.170.173'
|
||||||
const devInterfacePORT = '9999'
|
const devInterfacePORT = '9999'
|
||||||
// 云端端口号
|
// 云端端口号
|
||||||
const DEV_CLOUD_RES_INTERFACE_PORT = '7777'
|
const DEV_CLOUD_RES_INTERFACE_PORT = '7777'
|
||||||
|
|||||||
Reference in New Issue
Block a user