In vue-router hash mode, is it a problem to call WeChat Pay to get code callback?

the backend requires that the code, be sent to him every time the payment is made.
https://open.weixin.qq.com/co.
&redirect_uri=REDIRECT_URI&response_type=code&scope=SCOPE&state=STATE-sharpwechat_redirect
fill in the callback address such as http://xx.com-sharppay. This should be a problem. Will all the data in the vuex disappear when the
callback comes back?
I also hope that a big god who understands will give me a hint!

Dec.23,2021

Wechat tune h5 payment URL does not support hash mode, you must use history mode in combination with the backend.

Menu