From 1c9e38aa715545f5ace2bbbc82af8fff64177045 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=BE=E8=BF=AB?= <9479288+zp1518171901@user.noreply.gitee.com> Date: Mon, 18 Jul 2022 09:09:27 +0000 Subject: [PATCH] =?UTF-8?q?update=20CommonEventAndNotification/AlarmClock/?= =?UTF-8?q?entry/src/main/ets/pages/index.ets.=20=E6=B7=BB=E5=8A=A0toStrin?= =?UTF-8?q?g()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AlarmClock/entry/src/main/ets/pages/index.ets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CommonEventAndNotification/AlarmClock/entry/src/main/ets/pages/index.ets b/CommonEventAndNotification/AlarmClock/entry/src/main/ets/pages/index.ets index a3bee232..a1ba8e15 100644 --- a/CommonEventAndNotification/AlarmClock/entry/src/main/ets/pages/index.ets +++ b/CommonEventAndNotification/AlarmClock/entry/src/main/ets/pages/index.ets @@ -384,7 +384,7 @@ struct Index { promise.then((preferences) => { let promiseGet = preferences.get('data', '') promiseGet.then(value => { - this.clockItems = JSON.parse(value) + this.clockItems = JSON.parse(value.toString()) }) }) } -- Gitee