【问题标题】:scope.$watch not working in bootstrap angularjs tabsetscope.$watch 在 bootstrap angularjs tabset 中不起作用
【发布时间】:2015-06-08 12:06:31
【问题描述】:

我在尝试在引导程序 ui-bootstrap-tpls-0.10.0.js 版本的选项卡内的元素上使用 angularjs $scope.$watch 时遇到了这个问题,但如果元素放置在选项卡集之外,它运行良好且完美。

有什么问题的朋友请尽快回复。

【问题讨论】:

标签: angularjs angular-ui-bootstrap


【解决方案1】:

这是另一个解决方案的帖子:https://github.com/angular-ui/bootstrap/issues/1553

resume: 把变量放到另外一个,例子

models.variable

它很愚蠢,但很有效

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2015-04-25
    • 1970-01-01
    • 2013-02-26
    • 1970-01-01
    • 1970-01-01
    • 2015-08-31
    • 2015-08-09
    • 2013-02-13
    相关资源
    最近更新 更多