v2.2.5 2022-11-3
1.优化部分代码 2.去掉微信未开放功能
This commit is contained in:
@@ -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();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user