From 3e1d551184cb669c9dbaa23cdb9948fe92484fc4 Mon Sep 17 00:00:00 2001 From: whycq <123456> Date: 星期六, 08 十月 2022 18:46:39 +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..b5be341 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/缁勬墭鎴愬姛.mp3'; + innerAudioContext.play() that.resst(); uni.showToast({ title: res.msg, -- Gitblit v1.9.1