v2.2.5 2022-11-3

1.优化部分代码
2.去掉微信未开放功能
This commit is contained in:
2022-11-03 22:49:14 +08:00
parent bb7d4ae74a
commit c994fcca33
7 changed files with 84 additions and 30 deletions
+8 -2
View File
@@ -91,15 +91,16 @@
export default {
data() {
return {
picUrl: app.globalData.website + "/image/other/image_tool_bayinhe.jpg",
flag: ''
}
},
methods: {
audioPlay(flag) {
let that = this;
this.flag = flag;
var srcMic = "";
uni.request({
url: "https://www.lailab.cn/miniprogram/tools/bayinhe.php?flag=" + flag,
url: app.globalData.website + "/tools/bayinhe.php?flag=" + that.flag,
success(res) {
// console.log(res);
if (res.statusCode == 200) {
@@ -131,6 +132,11 @@
});
}
},
computed: {
picUrl() {
return app.globalData.website + "/image/other/image_tool_bayinhe.jpg";
}
},
onHide() {
this.audioPause();
},