Electron 不会在 select 框后渲染任何 html

Electron doesn't render any html after an select box

我有一个带有 Angular JS 的基本 html 表单。

<div class="form-control" id="alarm">
    <select ng-model="vm.clock.alarm" ng-options="option.title for option in vm.alarms track by option.url"/>
</div>

这 运行 在 chrome 浏览器 window 中没问题。但是,当我在 Electron 应用程序中 运行 this 时,select 框呈现并运行正常,但在它之后没有呈现 html。没有 javascript 个错误。当我检查 html 时,dom 中的 select 元素之后没有 html。为什么电子不渲染 html 就像 chrome 浏览器一样?

我正在使用最新版本的 electron chrome 和 angular 的 1.4.8。

问题出在 select 选项上,并且没有结束 </select> 标签。一定是 electron 或 electron 的 chromium 版本中的错误。

<div class="form-control" id="alarm">
<select ng-model="vm.clock.alarm" ng-options="option.title for option in vm.alarms track by option.url">
</select>
</div>

有效