search

Home  >  Q&A  >  body text

angular.js - angularjs 用IE11打开{{}} 取不到值

直接显示{{user.name}},而不是zhangsan
这是什么原因造成的?

巴扎黑巴扎黑2744 days ago562

reply all(5)I'll reply

  • 漂亮男人

    漂亮男人2017-05-15 16:56:05

    I also encountered this problem, and it is probabilistic. Sometimes the whole article is {{user.name}}. How did I solve it in the end?

    reply
    0
  • ringa_lee

    ringa_lee2017-05-15 16:56:05

    Look at the terminal for any errors, it must be something you wrote wrong. Or you didn't specify ng-app.

    reply
    0
  • 给我你的怀抱

    给我你的怀抱2017-05-15 16:56:05

    First make sure you don’t use {{}} in style

    Additional usedata-ng-bind=xxxxx来代替{{xxxxx}}
    hope it works

    reply
    0
  • PHPz

    PHPz2017-05-15 16:56:05

    angular version change

    reply
    0
  • phpcn_u1582

    phpcn_u15822017-05-15 16:56:05

    Finally it was found that it was caused by a js plug-in conflict

    reply
    0
  • Cancelreply