From 7319ab1ce998a7d13f0192a4ccaf92d4a02929f8 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期三, 11 十二月 2024 14:33:43 +0800
Subject: [PATCH] 电路试验上传文件报错
---
src/components/view/custom_manage.vue | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/components/view/custom_manage.vue b/src/components/view/custom_manage.vue
index f323754..7c45ee4 100644
--- a/src/components/view/custom_manage.vue
+++ b/src/components/view/custom_manage.vue
@@ -61,7 +61,7 @@
<ValueTable ref="ValueTable" :url="$api.user.selectCustomPageList" :delUrl="$api.user.delCustomById"
:componentData="componentData" :key="upIndex" :upUrl="$api.user.upCustom"/>
</div>
- <el-dialog title="鏂板瀹㈡埛" :visible.sync="addDia" width="450px">
+ <el-dialog title="鏂板瀹㈡埛" :visible.sync="addDia" width="450px" @close="resetUser">
<div style="margin-bottom: 15px;">
<el-row style="line-height: 50px;">
<el-col :span="7" style="text-align: right;padding-right: 8px;"><span class="required-span">*
@@ -296,6 +296,9 @@
this.addDia = false
})
},
+ resetUser () {
+ this.user = {}
+ },
// 鏉冮檺鍒嗛厤
getPower() {
let power = JSON.parse(sessionStorage.getItem('power'))
--
Gitblit v1.9.3