fix: 更新用户主页和私信链接并注释getRiposte调用
将用户主页和私信链接从bbs.gter.net更新为f.gter.net,同时简化TAHomePage函数写法 注释掉可能不需要的getRiposte调用
This commit is contained in:
@@ -455,7 +455,7 @@ const getDetails = async () => {
|
|||||||
if (element.selected) haveVotedValue.value = element.value;
|
if (element.selected) haveVotedValue.value = element.value;
|
||||||
});
|
});
|
||||||
|
|
||||||
getRiposte();
|
// getRiposte();
|
||||||
|
|
||||||
const topic = data.topic;
|
const topic = data.topic;
|
||||||
getTopicDetail(topic.uniqid);
|
getTopicDetail(topic.uniqid);
|
||||||
@@ -525,13 +525,11 @@ const getTopicOperation = () => {
|
|||||||
// 点击发送信息
|
// 点击发送信息
|
||||||
const sendMessage = (uin, uid) => {
|
const sendMessage = (uin, uid) => {
|
||||||
if (typeof messagePrivateItem == "function") messagePrivateItem({ uin, uid });
|
if (typeof messagePrivateItem == "function") messagePrivateItem({ uin, uid });
|
||||||
else redirectToExternalWebsite(`https://bbs.gter.net/home.php?mod=space&showmsg=1&uid=${uin}&uid=${uid}`);
|
else redirectToExternalWebsite(`https://f.gter.net/space??uin=${uin}&uid=${uid}`);
|
||||||
};
|
};
|
||||||
|
|
||||||
// 点击ta的主页
|
// 点击ta的主页
|
||||||
const TAHomePage = (uin, uid) => {
|
const TAHomePage = (uin, uid) => redirectToExternalWebsite(`https://f.gter.net/space??uin=${uin}&uid=${uid}`);
|
||||||
redirectToExternalWebsite(`https://bbs.gter.net/home.php?mod=space&uid=${uin}&uid=${uid}`);
|
|
||||||
};
|
|
||||||
|
|
||||||
// 跳转 url
|
// 跳转 url
|
||||||
const redirectToExternalWebsite = (url, target = "_blank") => {
|
const redirectToExternalWebsite = (url, target = "_blank") => {
|
||||||
|
|||||||
Reference in New Issue
Block a user