优化:页面标题
This commit is contained in:
@@ -17,6 +17,7 @@ function Detail() {
|
||||
getCmsArticle(Number(params.id)).then(data => {
|
||||
if (data) {
|
||||
setItem(data)
|
||||
// Taro.setNavigationBarTitle({title: `${data?.categoryName} - 文章详情`})
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user