fix: 背景渲染问题

This commit is contained in:
2025-12-09 18:27:58 +08:00
parent 3cc014a277
commit dc6f73637a
8 changed files with 13 additions and 50 deletions

View File

@@ -91,14 +91,14 @@ function Index() {
const fetchDetail = async () => {
if (!id) return;
const res = await DetailService.getDetail(Number(id)).catch(e => {
const res = await DetailService.getDetail(Number(id)).catch((e) => {
// 跳转到空状态页面
(Taro as any).redirectTo({
url: '/other_pages/emptyState/index',
url: "/other_pages/emptyState/index",
});
return e;
});
if (res.code === 0) {
setDetail(res.data);
fetchUserInfoById(res.data.publisher_id);
@@ -188,7 +188,7 @@ function Index() {
enhanced
showScrollbar={false}
scrollIntoView={scrollToTarget}
scroll-with-animation
// scroll-with-animation
>
{/* custom navbar */}
<View