Compare commits

...

2 Commits

Author SHA1 Message Date
BianLzhaoMin 6baa14cc5f Merge branch 'dev-nx' of http://192.168.0.56:3000/bonus/devicesmgt into dev-nx 2024-07-10 17:55:50 +08:00
BianLzhaoMin de977c0100 优化上传问题 2024-07-10 17:55:48 +08:00
1 changed files with 10 additions and 5 deletions

View File

@ -996,9 +996,11 @@ export default {
fileUrl += e.url + ','
fileName += e.name + ','
})
this.form.checkUrl = fileUrl.substring(fileUrl.length - 1, 1)
this.form.checkUrlName = fileName.substring(fileName.length - 1, 1)
this.form.checkUrl = fileUrl.substring(fileUrl.length - 1, ',')
this.form.checkUrlName = fileName.substring(
fileName.length - 1,
',',
)
// console.log(this.form)
// console.log(equipments)
this.$refs['form'].validate((valid) => {
@ -1030,8 +1032,11 @@ export default {
fileUrl += e.url + ','
fileName += e.name + ','
})
this.aform.checkUrl = fileUrl.substring(fileUrl.length - 1, 1)
this.aform.checkUrlName = fileName.substring(fileName.length - 1, 1)
this.aform.checkUrl = fileUrl.substring(fileUrl.length - 1, ',')
this.aform.checkUrlName = fileName.substring(
fileName.length - 1,
',',
)
this.$refs['aform'].validate((valid) => {
if (valid) {