WeChat Pay is used for vue mobile projects.

problem description

premise is to introduce Wechat sdk using npm I-S weixin-js-sdk. On the required page import wx from "weixin-js-sdk"
Code: mounted () {

  console.log(wx)
}

clipboard.png

var timestamp = new Date().getTime() //


clipboard.png
alertconsole
console.log

clipboard.png

successfail&cancel
debugger

clipboard.png
how about a big guy to save T... T, I hope my description is quite clear.

Apr.11,2022

did you test it in Wechat browser? And WeChat Pay can't test the domain name in the official account whitelist


const wx = window.jWeixin | | require ('weixin-js-sdk')


I also encountered this kind of problem. How did you solve it later?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1c04b91-32729.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1c04b91-32729.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?