angular中运用$cacheFactory服务时候报错
程序开发
2023-09-02 18:10:48
我在截多一个图,估计大家就明白了...
Error: [$parse:lexerr] Lexer Error: Unexpected next character at columns 0-0 [丰] in expression [丰盛的范德萨].
http://errors.angularjs.org/1.4.9/$parse/lexerr?p0=Unexpected%20nextharacter%20&p1=s%200-0%20%5B%E4%B8%B0%5D&p2=%E4%B8%B0%E7%9B%9B%E7%9A%84%E8%8C%83%E5%BE%B7%E8%90%A8
解决方法:
$scope.ask=function(t,msg){cache.remove(t);cache.put(t, msg);
}
没次改变值时候 都先清除一下.
标签:
上一篇:
angular8中错误Cannot find module ‘ngx-bootstrap‘. 5 import { PaginationModule } from ‘ngx-bootstrap‘;
下一篇:
相关文章
-
无相关信息