This commit is contained in:
cun-nan 2024-10-18 10:46:56 +08:00
parent f516365a5a
commit 1ae880d708

View File

@ -234,11 +234,11 @@ export default {
}) })
}, },
submitForm(formName) { submitForm(formName) {
this.deviceInfo.deviceAb = this.deviceInfo.deviceAb.join(',')
this.$refs[formName].validate(valid => { this.$refs[formName].validate(valid => {
if (valid) { if (valid) {
// //
// API // API
this.deviceInfo.deviceAb = this.deviceInfo.deviceAb.join(',')
this.submitDeviceInfo(); this.submitDeviceInfo();
} else { } else {
// //