所以,我有这个代码:
{{#if isClient}}
{{view Ember.Select
value=country
content=options.country
prompt='Please select a country'}}
{{/if}}
加载时效果很好,因为isClient
默认为true。但是,当我设置isCLient
为 false 时,我收到此错误:
Cannot read property 'selectedIndex' of undefined
对底层代码有更好理解的人在这里有什么想法吗?