【问题标题】:onsen ui (2 rc5) ons-bottom-toolbar angular template TypeError: Cannot set property 'nodeValue' of undefinedonsen ui (2 rc5) ons-bottom-toolbar 角度模板 TypeError: 无法设置未定义的属性“nodeValue”
【发布时间】:2016-05-21 14:10:00
【问题描述】:

我尝试过这样的事情:

<ons-bottom-toolbar>{{ 'show this text in bottom toolbar' }}</ons-bottom-toolbar>

我得到了这个错误

TypeError: Cannot set property 'nodeValue' of undefined
    at interpolateFnWatchAction (angular.js:8878)
    at interpolateFnWatcher (angular.js:11388)
    at watchGroupAction (angular.js:15873)
    at constantListener (angular.js:14735)
    at Scope.$digest (angular.js:16203)
    at Scope.$apply (angular.js:16467)
    at done (angular.js:10852)
    at completeRequest (angular.js:11050)
    at XMLHttpRequest.requestLoaded (angular.js:10991)

似乎温泉底部工具栏不接受任何绑定。 或者我可能错过了什么。

更新:

此错误仅显示在 GoogleChroum(Ubuntu 桌面和 android)最新版本上。

【问题讨论】:

标签: javascript angularjs data-binding onsen-ui onsen-ui2


【解决方案1】:

实际上这是 OnsenUI 中的 bug 已修复(感谢 Onsen 团队,尤其是 Andreas Argelius)并将在一周内发布。

【讨论】:

    猜你喜欢
    • 2015-06-03
    • 1970-01-01
    • 2019-07-04
    • 1970-01-01
    • 2021-01-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多