|
|
@@ -22,6 +22,7 @@
|
|
|
import TextCard from '@/components/card/TextCard'
|
|
|
import StatusCard from '@/components/card/StatusCard'
|
|
|
import HotList from '@/components/hotlist/HotList'
|
|
|
+import { getUserInfo } from '@/utils/auth'
|
|
|
import { statusRecommend } from '@/api/status'
|
|
|
|
|
|
export default {
|
|
|
@@ -37,6 +38,11 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
+ const userInfo = getUserInfo()
|
|
|
+ if (userInfo != null) {
|
|
|
+ document.title = userInfo.username + '的时间线'
|
|
|
+ }
|
|
|
+
|
|
|
this.currentPage = 1
|
|
|
statusRecommend(this.currentPage).then(res => {
|
|
|
if (res.code === 0) {
|