From 46ba73c9645ad937bbf14dba810177d568be49be Mon Sep 17 00:00:00 2001 From: whycq <123456> Date: 星期六, 08 十月 2022 22:03:38 +0800 Subject: [PATCH] # --- pages/basics/pakin.vue | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/pages/basics/pakin.vue b/pages/basics/pakin.vue index e1a916a..bc3c3bc 100644 --- a/pages/basics/pakin.vue +++ b/pages/basics/pakin.vue @@ -195,6 +195,7 @@ resst() { this.matList = [] this.barcode = '' + this.matnr = '' this.barcodeFocuss() uni.vibrateShort(); }, @@ -251,6 +252,9 @@ uni.hideLoading(); var res = result.data if (res.code === 200) { + const innerAudioContext = uni.createInnerAudioContext(); + innerAudioContext.src = '/static/music/pakinOk.mp3'; + innerAudioContext.play() that.resst(); uni.showToast({ title: res.msg, -- Gitblit v1.9.1