修改二维码

This commit is contained in:
DESKTOP-RQ919RC\Pc
2025-11-19 15:04:20 +08:00
parent 982e5781eb
commit 7015a01902
44 changed files with 250 additions and 225 deletions

View File

@@ -445,7 +445,7 @@ const getDetails = async () => {
// islike.value = data["islike"];
// ismyself.value = data["ismyself"];
option.value = data["option"];
qrcode.value = data.share?.qrcode;
// qrcode.value = data.share?.qrcode;
token.value = data["token"];
seo.value = data.seo;
@@ -499,6 +499,17 @@ const getTopicDetail = (uniqid) => {
ismyself.value = data.ismyself;
if (data.islogin) getTopicOperation();
getQrcode()
});
};
const getQrcode = () => {
getQrcodeHttp({ token: topicToken.value }).then((res) => {
if (res.code != 200) return;
const data = res.data || [];
qrcode.value = data.url || "";
});
};