diff --git a/CommonEventAndNotification/AlarmClock/entry/src/main/ets/pages/index.ets b/CommonEventAndNotification/AlarmClock/entry/src/main/ets/pages/index.ets index a3bee232994e52747480cd3b919fd944967c4795..a1ba8e15bd131c966b87241ca76a52e750ff54f3 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()) }) }) }