完成consumer端同步
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<scroll-view class="message-detail-page" scroll-y>
|
||||
<scroll-view class="message-detail-page" direction="vertical">
|
||||
<view class="message-header">
|
||||
<text class="message-title">{{ message.title }}</text>
|
||||
<text class="message-time">{{ formatTime(message.created_at) }}</text>
|
||||
@@ -165,9 +165,10 @@ const goToLink = () => {
|
||||
|
||||
onLoad((options) => {
|
||||
if (options != null) {
|
||||
const idVal = options['id']
|
||||
if (idVal != null) {
|
||||
loadMessage(idVal as string)
|
||||
const optionsObj = options as UTSJSONObject
|
||||
const idVal = optionsObj.getString('id') ?? ''
|
||||
if (idVal != '') {
|
||||
loadMessage(idVal)
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user