Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有两个布尔变量“IsOwner”和“IsModerator”(当然可以是真或假),我尝试如下{{if IsOwner || IsModerator}} 这里有一些代码 {{/if}}。但这似乎失败了......我错过了什么。?
提前致谢。
是的,{{if IsOwner || IsModerator}} some code here {{/if}}是正确的,应该可以正常工作。
{{if IsOwner || IsModerator}} some code here {{/if}}