Uncaught Error: Syntax error, unrecognized expression: #/ angularjs and jquery

后端 未结 4 780
长情又很酷
长情又很酷 2020-12-08 22:52

Following error shown up in my console whenever my page loads.

\"Uncaught Error: Syntax error, unrecognized expression: #/about\"

My code is as below:

<
4条回答
  •  清歌不尽
    2020-12-08 23:22

    This issue happens also on angular 2 projects. I just add data-target="#" to the anchor link. It solved my problem.

提交回复
热议问题