加入点击发布 点赞 评论等打开弹窗
This commit is contained in:
@@ -87,8 +87,17 @@ watchEffect(() => {
|
||||
keyword.value = route.query["keyword"]
|
||||
})
|
||||
|
||||
const userInfoWin = inject("userInfoWin");
|
||||
let openAttest = inject("openAttest");
|
||||
const realname = inject("realname");
|
||||
|
||||
// 点击发布
|
||||
const goPublish = () => {
|
||||
if (realname.value == 0 && userInfoWin.value.uin > 0) {
|
||||
openAttest();
|
||||
return;
|
||||
}
|
||||
|
||||
if (isNeedLogin.value) {
|
||||
goLogin()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user