From 87ec88423e4cd55f202755f7427e269c242189ff Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期一, 18 八月 2025 12:09:08 +0800
Subject: [PATCH] 增加替换上传异常处理
---
src/views/wel/shemi.vue | 17 ++++++++++-------
1 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/src/views/wel/shemi.vue b/src/views/wel/shemi.vue
index 9b06872..6ec8895 100644
--- a/src/views/wel/shemi.vue
+++ b/src/views/wel/shemi.vue
@@ -665,14 +665,17 @@
method: 'post',
data: obj
}).then(
- resp => {
- this.$message({
- type: 'success',
- message: '鎿嶄綔鎴愬姛!',
+ resp => {
+ this.$message({
+ type: 'success',
+ message: '鎿嶄綔鎴愬姛!',
+ });
+ done();
+ this.todolistModel = false;
+ }).catch(error =>{
+ window.console.log('haha',error);
+ done();
});
- done();
- this.todolistModel = false;
- });
// if(this.row.taskDefinitionKey === 'programmingTask') {
// // if(this.applist.length !== 1) {
// // done();
--
Gitblit v1.9.3