【发布时间】:2015-12-20 20:21:09
【问题描述】:
我有一个带有 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 浏览器窗口中运行良好。但是,当我在电子应用程序中运行它时,选择框呈现并正常运行,但之后没有呈现 html。没有 javascript 错误。当我检查 html 时,在 dom 中的 select 元素之后没有 html。为什么 electron 不像 chrome 浏览器那样渲染 html?
我正在使用最新版本的电子、铬和 Angular 的 1.4.8。
【问题讨论】: