优化上传问题
This commit is contained in:
parent
ecbf580e80
commit
de977c0100
|
|
@ -996,9 +996,11 @@ export default {
|
||||||
fileUrl += e.url + ','
|
fileUrl += e.url + ','
|
||||||
fileName += e.name + ','
|
fileName += e.name + ','
|
||||||
})
|
})
|
||||||
this.form.checkUrl = fileUrl.substring(fileUrl.length - 1, 1)
|
this.form.checkUrl = fileUrl.substring(fileUrl.length - 1, ',')
|
||||||
this.form.checkUrlName = fileName.substring(fileName.length - 1, 1)
|
this.form.checkUrlName = fileName.substring(
|
||||||
|
fileName.length - 1,
|
||||||
|
',',
|
||||||
|
)
|
||||||
// console.log(this.form)
|
// console.log(this.form)
|
||||||
// console.log(equipments)
|
// console.log(equipments)
|
||||||
this.$refs['form'].validate((valid) => {
|
this.$refs['form'].validate((valid) => {
|
||||||
|
|
@ -1030,8 +1032,11 @@ export default {
|
||||||
fileUrl += e.url + ','
|
fileUrl += e.url + ','
|
||||||
fileName += e.name + ','
|
fileName += e.name + ','
|
||||||
})
|
})
|
||||||
this.aform.checkUrl = fileUrl.substring(fileUrl.length - 1, 1)
|
this.aform.checkUrl = fileUrl.substring(fileUrl.length - 1, ',')
|
||||||
this.aform.checkUrlName = fileName.substring(fileName.length - 1, 1)
|
this.aform.checkUrlName = fileName.substring(
|
||||||
|
fileName.length - 1,
|
||||||
|
',',
|
||||||
|
)
|
||||||
|
|
||||||
this.$refs['aform'].validate((valid) => {
|
this.$refs['aform'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue