唐耀东
2022-02-22 778354d2ae8cde6b13a70c7a962806e2d735a654
问题修改
1个文件已修改
12 ■■■■ 已修改文件
src/views/device/peripheralUnit/index.vue 12 ●●●● 补丁 | 查看 | 原始文档 | 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 => {