版权声明:【原创】GitHub:https://github.com/susuGirl,微信公众号:fuxiaodexing,博客:https://blog.csdn.net/weixin_41845146 https://blog.csdn.net/weixin_41845146/article/details/84991338
- ng-bind-html 绑定的只能是字符串类型的字段,看是否是后台小哥哥偷偷改了字段类型
ionic.bundle.js?1544689288726:21158 Error: [$sce:itype] Attempted to trust a non-string value in a content requiring a string: Context: html
http://errors.angularjs.org/1.4.3/$sce/itype?p0=html
at ionic.bundle.js?1544689288726:8896
at trustAs (ionic.bundle.js?1544689288726:25451)
at Object.sce.(:8100/anonymous function) [as trustAsHtml] (http://localhost:8100/lib/ionic/js/ionic.bundle.js?1544689288726:26202:16)
at app.packed.js?1544689288726:831
at fn (eval at compile (ionic.bundle.js?1544689288726:21973), <anonymous>:4:244)
at regularInterceptedExpression (ionic.bundle.js?1544689288726:23055)
at Object.expressionInputWatch [as get] (ionic.bundle.js?1544689288726:22957)
at Scope.$digest (ionic.bundle.js?1544689288726:24503)
at ionic.bundle.js?1544689288726:24713
at completeOutstandingRequest (ionic.bundle.js?1544689288726:14222)