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 | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/pages/basics/pakin.vue b/pages/basics/pakin.vue index 1a0eeee..bc3c3bc 100644 --- a/pages/basics/pakin.vue +++ b/pages/basics/pakin.vue @@ -87,7 +87,7 @@ <!-- 寮圭獥 --> <!-- 淇敼鏁伴噺 --> - <uni-popup ref="revise" background-color="#fff" @change="change"> + <uni-popup ref="revise" background-color="#fff"> <view class="revise-box "> <view class="revise-box-top"> <view class="color-block-blue"></view> @@ -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