cuiqian2004
2025-09-25 9efd4a80aae58cf36266e774d3c820cc8e115028
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()
@@ -882,6 +877,8 @@
         margin-top: 150rpx;
         margin-left: calc(750rpx - 330rpx);
         width: 320rpx;
         max-height: 50vh;
         overflow: auto;
         align-items: center;
         justify-content: center;
         flex-direction: column;