处理分享后的兼容问题

This commit is contained in:
kron
2025-11-04 16:49:56 +08:00
parent 3f6d8cb821
commit c7ebeaac36
5 changed files with 312 additions and 36 deletions

View File

@@ -71,7 +71,10 @@ const updateHot = (value) => {
onMounted(() => {
const pages = getCurrentPages();
const currentPage = pages[pages.length - 1];
if (currentPage.route === "pages/point-book-edit") {
if (
currentPage.route === "pages/point-book-edit" ||
currentPage.route === "pages/point-book-detail"
) {
pointBook.value = uni.getStorageSync("point-book");
}
if (