使用参数作为状态变量值的setState的简单amp-action-macro,返回null。
<div [text]="myVar">myVar</div>
<button on="tap:setVar.execute(x=44)">setVar</button>
<amp-action-macro
id="setVar"
execute="AMP.setState({myVar: x})"
arguments="x">
</amp-action-macro>
我希望myVar的输出为44,但实际输出为空