From 04a15056e60454472d2125d5825c598a5be111c5 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期三, 11 十二月 2024 10:54:06 +0800
Subject: [PATCH] 电路试验上传文件报错
---
src/view/index.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/view/index.vue b/src/view/index.vue
index efe8884..3716b4c 100644
--- a/src/view/index.vue
+++ b/src/view/index.vue
@@ -518,8 +518,8 @@
confirmButtonText: '纭畾',
cancelButtonText: '鍙栨秷',
type: 'warning'
- }).then(() => {
- if(obj.$refs.Inspection.$refs.CircuitParameters.saveAll()){
+ }).then( async () => {
+ if(await obj.$refs.Inspection.$refs.CircuitParameters.saveAll()){
this.tabs.splice(index, 1);
let data = this.tabs[this.tabs.length - 1]
this.upTabActive(data.k)
--
Gitblit v1.9.3