suchen

Heim  >  Fragen und Antworten  >  Hauptteil

angular.js - 只要一把directive的replace设为true就会报错!求解!

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

伊谢尔伦伊谢尔伦2856 Tage vor573

Antworte allen(1)Ich werde antworten

  • PHPz

    PHPz2017-05-15 16:56:36

    这个参数很早就deprecated了,尽量别用

    Antwort
    0
  • StornierenAntwort