cuiqian2004
2025-09-19 d8743368ffda9bc0fb2c6818f695a9a6b1079e57
pages/index/index.vue
@@ -123,7 +123,9 @@
   import {
      session,
      showToast,
      showModal
      showModal,
      showError,
      showInfo
   } from "@/comm/utils.js"
   import {
      getAllScene,
@@ -280,7 +282,7 @@
               }
            } catch (ex) {
               this.showError(ex)
               showError(ex)
            }
         },
@@ -304,7 +306,7 @@
               this.pageList = [...list]
            } catch (ex) {
               this.showError(ex)
               showError(ex)
            }
         },
@@ -409,7 +411,7 @@
                  }
               }
            } catch (ex) {
               this.showError(ex)
               showError(ex)
            }
         },
         async checkConnectSuccess(ip) {
@@ -532,7 +534,7 @@
                  }
               })
            } catch (ex) {
               this.showError(ex)
               showError(ex)
            }
         },
@@ -618,13 +620,6 @@
                  url: `/pages/index/backup?ip=${page.ip}`
               })
            }
         },
         showError(ex) {
            let exStr = JSON.stringify(ex)
            if (exStr == "{}")
               exStr = ex
            let tip = typeof ex.msg == "string" ? ex.msg : exStr
            showModal(tip, "错误", false, "确定")
         },
         closeMenu() {
            this.$refs.refPopupMenu.close()