import wx from "weixin-js-sdk";
mounted() {
this.autoPlayAudio();
},
methods: {
autoPlayAudio() {
wx.config({
debug: false,
appId: "",
timestamp: 1,
nonceStr: "",
signature: "",
jsApiList: [],
});
wx.ready(function () {
document.getElementById("audio").play();
});
},
}