Skip to content

Commit

Permalink
发布
Browse files Browse the repository at this point in the history
  • Loading branch information
bubucuo committed Jun 19, 2023
1 parent 516b82e commit ba1f79a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export async function getStaticProps({params}: {params: {id: string}}) {

return {
props: {
data: data.result,
data: data.result.publish && !data.result.isDelete && data.result,
},
};
}

0 comments on commit ba1f79a

Please sign in to comment.