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

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

@@ -83,8 +83,18 @@ watchEffect(() => {
// const goIndex = () => {
// // router.push(`/index.html`)
// }
let openAttest = inject("openAttest");
const realname = inject("realname");
let user = inject("userInfo");
// 点击发布
const goPublish = () => {
if (realname.value == 0 && user.value.uin > 0) {
openAttest();
return;
}
if (isNeedLogin.value) {
goLogin()
return