加入点击发布 点赞 评论等打开弹窗

This commit is contained in:
DESKTOP-RQ919RC\Pc
2025-06-23 16:36:35 +08:00
parent 4cd9163422
commit 05a71799cf
59 changed files with 616 additions and 542 deletions

View File

@@ -116,7 +116,18 @@ const getList = () => {
.finally(() => (loading = false))
}
let user = inject("userInfo");
let openAttest = inject("openAttest");
const realname = inject("realname");
const handleLike = token => {
console.log(realname.value == 0, user.value.uin > 0);
if (realname.value == 0 && user.value.uin > 0) {
openAttest();
return;
}
if (isNeedLogin.value) {
goLogin()
return