From d8743368ffda9bc0fb2c6818f695a9a6b1079e57 Mon Sep 17 00:00:00 2001
From: cuiqian2004 <cuiqian2004@163.com>
Date: 星期五, 19 九月 2025 18:22:15 +0800
Subject: [PATCH] laster
---
pages/teaching/list.vue | 15 +++++----------
1 files changed, 5 insertions(+), 10 deletions(-)
diff --git a/pages/teaching/list.vue b/pages/teaching/list.vue
index 8894b87..7d62a86 100644
--- a/pages/teaching/list.vue
+++ b/pages/teaching/list.vue
@@ -44,6 +44,8 @@
showToast,
showModal,
session,
+ showError,
+ showInfo
} from "@/comm/utils.js"
import {
Button
@@ -129,7 +131,7 @@
} catch (ex) {
- this.showError(ex)
+ showError(ex)
}
},
@@ -141,7 +143,7 @@
this.teachingPublic = data?.Public || []
this.teachingStation = data?.Stations || []
} catch (ex) {
- this.showError(ex)
+ showError(ex)
}
},
clickAddTeaching() {
@@ -259,18 +261,11 @@
}
} catch (ex) {
- this.showError(ex)
+ showError(ex)
}
},
- showError(ex) {
- let exStr = JSON.stringify(ex)
- if (exStr == "{}")
- exStr = ex
- let tip = typeof ex.msg == "string" ? ex.msg : exStr
- showModal(tip, "閿欒", false,"纭畾")
- },
}
--
Gitblit v1.9.1