# Conflicts:
#	jsowell-ui/src/views/pile/basic/components/remoteUpgrade.vue
This commit is contained in:
Lemon
2024-09-10 16:59:59 +08:00
2 changed files with 4 additions and 3 deletions

View File

@@ -96,7 +96,7 @@
/>
<!-- 添加或修改充电桩固件信息对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body :before-close="cancel">
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="固件名称" prop="name">
<el-input v-model="form.name" placeholder="请输入固件名称" />
@@ -202,6 +202,7 @@ export default {
cancel() {
this.open = false;
this.reset();
this.$refs.upload.clearFiles();
},
// 表单重置
reset() {