0
流星選擇標籤動態如何選擇。請幫助我。在循環中選擇流星選擇選項
{{#with api_method_data_chnage}}
<select id="result_type">
<option value="{{ result_type }}"> {{ result_type }}</option>
</select>
{{/with}}
流星選擇標籤動態如何選擇。請幫助我。在循環中選擇流星選擇選項
{{#with api_method_data_chnage}}
<select id="result_type">
<option value="{{ result_type }}"> {{ result_type }}</option>
</select>
{{/with}}
<option value="{{ result_type }}" selected={{isSelected result_type}}> {{ result_type }}</option>
現在你只需要創建幫助isSelected
,並使其返回取決於如果該參數是選擇了一個或不true
或false
。
請提供示例。@ Peppe L-G – 2014-11-07 03:59:22
value =「{{result_type}}」當我們在控制檯中看到時也不會顯示。請幫助我。 – 2014-11-07 06:06:04