Skip to content

beforeEach 状态为1处理逻辑不正确 #2

@wzhsh90

Description

@wzhsh90

1、你借鉴的vue-wechat-login采用的history模式,所以要使用history模式to.fullPath 逻辑是正常的
2、你的程序里面要使用window.location.href

但是可以通过判断code 在那一个里面,从而去除因模式的影响

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions