This commit is contained in:
Gdpao
2020-08-17 19:33:55 +08:00
parent f77b4ebc02
commit aae9f78a91
2 changed files with 8 additions and 14 deletions

View File

@@ -177,6 +177,9 @@
onReady() {
this.videoBox = uni.createVideoContext("videoId", this);
},
onHide() {
this.videoBox.pause();
},
onBackPress() {
if (this.cart_type) {
this.cart_type = !this.cart_type;