修改二维码
This commit is contained in:
@@ -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 || "";
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user