|
@@ -7,6 +7,7 @@
|
|
width="1200"
|
|
width="1200"
|
|
append-to-body
|
|
append-to-body
|
|
destroy-on-close
|
|
destroy-on-close
|
|
|
|
+ :before-close="handleClose"
|
|
>
|
|
>
|
|
<el-form
|
|
<el-form
|
|
:model="form"
|
|
:model="form"
|
|
@@ -374,4 +375,10 @@ function uploadChange(file) {
|
|
function uploadRemove() {
|
|
function uploadRemove() {
|
|
materialForm.value.fileList = [];
|
|
materialForm.value.fileList = [];
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+// 关闭时重置状态
|
|
|
|
+const handleClose = (done) => {
|
|
|
|
+ emits("close", false)
|
|
|
|
+ done()
|
|
|
|
+}
|
|
</script>
|
|
</script>
|