angular.js - 只要一把directive的replace设为true就会报错!求解!
伊谢尔伦
伊谢尔伦 2017-05-15 16:54:36
0
1
509

只要一把directive的replace设为true就会报如下的错误:
Error: [$compile:tplrt]
想知道是为什么么?翻译过来貌似是templateUrl的路径问题,但是如果去掉replace的设置的话是可以正确显示的,所以想知道原因,该怎么解决

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(1)
PHPzhong

This parameter has been around for a long timedeprecated, try not to use it

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!