syle:更新样式
This commit is contained in:
@@ -212,6 +212,14 @@
|
||||
}
|
||||
const res = await getNoticeTextData(parasm);
|
||||
noticeText.value = res.data.noticeContent;
|
||||
|
||||
// 将通知内容存储到本地缓存
|
||||
try {
|
||||
uni.setStorageSync('noticeContent', res.data.noticeContent);
|
||||
console.log('通知内容已缓存:', res.data.noticeContent);
|
||||
} catch (e) {
|
||||
console.warn('缓存通知内容失败:', e);
|
||||
}
|
||||
}
|
||||
|
||||
// 距离格式化函数
|
||||
|
||||
Reference in New Issue
Block a user