如果用户已登录,如何隐藏按钮(SVG 图标)?

Ah, sorry - you wanted the opposite, so: not(.anon)

3 个赞