帖子详情加载优化

This commit is contained in:
linfeng 2023-08-28 09:35:49 +08:00
parent fc9666f151
commit 3cf8db0450
2 changed files with 6 additions and 1 deletions

View File

@ -9,7 +9,7 @@
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
(coverSupport ? ', viewport-fit=cover' : '') + '" />')
</script>
<title></title>
<title>林风社交论坛开源版</title>
<!--preload-links-->
<!--app-context-->
</head>

View File

@ -355,6 +355,10 @@
});
},
getPostDetail() {
uni.showLoading({
mask: true,
title: '加载中'
});
this.$H
.get('post/detail', {
id: this.postId
@ -369,6 +373,7 @@
}, 1500);
}
this.postDetail = res.result;
uni.hideLoading();
});
},
cancelCollection() {