Ui-sref not generating hash in URL (Angular 1.3.0-rc.3)

前端 未结 1 1963
鱼传尺愫
鱼传尺愫 2021-01-18 20:48

Since upgrading from Angular 1.3.0 RC-2 to RC-3 the hash-sign in my links generated by ui-sref has disappeared. The link is clickable and the state transfers happens correct

1条回答
  •  深忆病人
    2021-01-18 21:04

    That's a known issue. It's fixed in master. https://github.com/angular-ui/ui-router/issues/1397

    Angular 1.3 changed the HTML5 mode API, and UI-Router has to support either API.

    0 讨论(0)
提交回复
热议问题