帖子详情加载优化
This commit is contained in:
parent
fc9666f151
commit
3cf8db0450
@ -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>
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user