From db54f19af82abfe990abb3c155278b4cd3ea5fda Mon Sep 17 00:00:00 2001
From: A1300399510 <1300399510@qq.com>
Date: Sun, 16 Nov 2025 22:38:15 +0800
Subject: [PATCH] no message
---
component/item-bottom/item-bottom.js | 12 ++++++++----
component/item-bottom/item-bottom.txt | 5 +++--
2 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/component/item-bottom/item-bottom.js b/component/item-bottom/item-bottom.js
index 2c6b511..46df583 100644
--- a/component/item-bottom/item-bottom.js
+++ b/component/item-bottom/item-bottom.js
@@ -51,7 +51,7 @@ export const itemBottom = defineComponent({
creationAlertBox("error", res.message);
return;
}
-
+
let data = res.data;
creationAlertBox("success", res.message);
@@ -105,7 +105,7 @@ export const itemBottom = defineComponent({
let QRcode = ref("");
const showQRcode = () => {
- if (QRcode.value) return
+ if (QRcode.value) return;
// return
ajaxGet(`/v2/api/forum/getQrcode?token=${item.value.token}`).then((res) => {
if (res.code != 200) return;
@@ -114,12 +114,16 @@ export const itemBottom = defineComponent({
});
};
- return { QRcode, showQRcode, copyLinkClick, collectClick, item, likeClick, isLogin, isLikeGif };
+ const share = () => {
+ ajax(`/v2/api/forum/postTopicShare`, {token});
+ };
+
+ return { share, QRcode, showQRcode, copyLinkClick, collectClick, item, likeClick, isLogin, isLikeGif };
},
components: {
like,
},
- template: `
-