0

如何使用除尘助手编写以下语句?

{@eq key="device" value="windows || Linux"}
     Your system is Windows or Linux based.
{:else}
     Your system is MAC based.
{/eq}
4

1 回答 1

1

您可以将@any助手与Select Helper一起使用来实现此目的:

{@select key=device}
  {@eq value="windows"/}
  {@eq value="Linux"/}
  {@any}Your system is Windows or Linux based.{/any}
  {@none}Your system is MAC based.{/none}
{/select}
于 2016-12-15T13:43:00.847 回答