On the problem of WeChat Pay under vue-cli

recently wrote a project, built with vue-cli, developed
in Wechat, but encountered a problem. With regard to WeChat Pay"s
, I have been normal in android, but in ios, sometimes it is normal, but suddenly it can not be called normally, but the payment window can not be called normally, but the payment window does not come out and needs a page refresh before it can be used normally. Android does not have this problem
excuse me, what is going on with this? How to solve it, please, thank you

Supplementary Code

clipboard.png

res.Data is required for Wechat configuration obtained from the backend

Jan.08,2022

asking questions without code is playing hooligans

Menu