fix: rating
This commit is contained in:
@@ -151,7 +151,7 @@
|
||||
</view>
|
||||
|
||||
<view class="footer-bar">
|
||||
<button class="submit-btn" @tap="handleSubmit">发布全民评分</button>
|
||||
<button class="submit-btn" @tap="handleSubmit">发布夯拉评分</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -321,6 +321,17 @@ const handleSubmit = async () => {
|
||||
participants: participants.value,
|
||||
};
|
||||
await releaseTopic(payload);
|
||||
|
||||
// 记录发布事件
|
||||
uni.$trackRecord({
|
||||
eventName: 'release_topic',
|
||||
eventType: 'release',
|
||||
elementContent: `话题_${payload.title}`,
|
||||
customParams: {
|
||||
title: payload.title,
|
||||
categoryId: payload.categoryId,
|
||||
}
|
||||
});
|
||||
|
||||
uni.hideLoading();
|
||||
uni.showToast({
|
||||
|
||||
Reference in New Issue
Block a user