vue-wechat-auth icon indicating copy to clipboard operation
vue-wechat-auth copied to clipboard

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

Open wzhsh90 opened this issue 4 years ago • 2 comments

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

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

wzhsh90 avatar Mar 22 '20 09:03 wzhsh90

@wzhsh90 没有看懂,你可以加我微信交流

sunniejs avatar May 05 '20 08:05 sunniejs

@wzhsh90 已经修复,因为hash造成的

sunniejs avatar May 29 '20 01:05 sunniejs