我有两个清单:
var one =["test","test1","test2"];
var two =["temp","temp1","temp2",""temp3","temp4"];
Run Code Online (Sandbox Code Playgroud)
我在下面尝试了一些东西,但它不起作用。
<table>
{{#each one}}
<td>{{this}}</td>
<td>
<select>
{{#each two}}
<option>{{this}}</option>
{{/each}}
</select>
</td>
{{/each}}
</table>
Run Code Online (Sandbox Code Playgroud)