cuiqian2004
2025-09-19 d8743368ffda9bc0fb2c6818f695a9a6b1079e57
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,"确定")
         },
      }