【问题标题】:Changes on angular include not taking effect on chrome角度的变化包括不影响铬
【发布时间】:2015-10-11 04:48:09
【问题描述】:

我在我的页面上使用 angular ng-include。每次我对包含的 .html 进行更改时,这些更改都不会在 chrome 和 Opera 上生效,但会在 Firefox 上生效。我正在使用 XAMPP 来运行我的页面。有什么想法吗?

【问题讨论】:

    标签: html angularjs google-chrome firefox xampp


    【解决方案1】:

    这可能是因为 angular 的$templateCache

    一个快速的解决方案是刷新浏览器的缓存,或者在 Chrome 开发工具中点击右下方的齿轮并勾选选项Disable cache (while DevTools is open)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2023-03-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多