search

Home  >  Q&A  >  body text

Conflict using angularjs when passing parameters with session storage

Use sessionStorage to set parameters. It is normal when the parameters are defined by yourself.
But when defined using angularjs, an error is reported.

.
This is js
.
This is an error message

高洛峰高洛峰2815 days ago534

reply all(1)I'll reply

  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-05-15 17:11:29

    The error is not obvious anymore, use is not allowedDOM event attributes,把onClick 改为 ng-Click

    reply
    0
  • Cancelreply