From 9f64701988c6343935e08130702947e458e8c79b Mon Sep 17 00:00:00 2001 From: Anne_LXM <54163582+anne-lxm@users.noreply.github.com> Date: Wed, 3 Apr 2024 20:10:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=BC=E5=AE=B9=E5=A4=84=E7=90=86iOS?= =?UTF-8?q?=E4=B8=8Auni.getStorage(Sync)=E6=B2=A1=E6=9C=89=E8=BF=94?= =?UTF-8?q?=E5=9B=9EUTSJSONObject=E7=B1=BB=E5=9E=8B=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.uts | 3 +++ .../uni-id-pages-x-avatar/uni-id-pages-x-avatar.uvue | 12 ++++++------ uni_modules/uni-id-pages-x/store.uts | 7 ++++++- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/main.uts b/main.uts index daceb5d..0351221 100644 --- a/main.uts +++ b/main.uts @@ -3,6 +3,9 @@ import App from './App.uvue' import { createSSRApp } from 'vue' export function createApp() { const app = createSSRApp(App) + app.config.errorHandler = (err, vm, info) => { + console.log(err, vm, info) + } return { app } diff --git a/uni_modules/uni-id-pages-x/components/uni-id-pages-x-avatar/uni-id-pages-x-avatar.uvue b/uni_modules/uni-id-pages-x/components/uni-id-pages-x-avatar/uni-id-pages-x-avatar.uvue index 6fcdfb9..9dcc4a5 100644 --- a/uni_modules/uni-id-pages-x/components/uni-id-pages-x-avatar/uni-id-pages-x-avatar.uvue +++ b/uni_modules/uni-id-pages-x/components/uni-id-pages-x-avatar/uni-id-pages-x-avatar.uvue @@ -4,10 +4,10 @@