src/views/device/peripheralUnit/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/views/device/peripheralUnit/index.vue
@@ -463,12 +463,12 @@ submitForm() { this.$refs["form"].validate(valid => { if (valid) { if(this.uploadFlag){ if(!this.form.filePath){ this.$modal.msgWarning("请选择上传附件"); return; } } // if(this.uploadFlag){ // if(!this.form.filePath){ // this.$modal.msgWarning("请选择上传附件"); // return; // } // } this.buttonLoading = true; if (this.form.id != null) { updatePeripheralUnit(this.form).then(response => {