From 474668108751c268e1ace5ff8765153764bd6476 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Mon, 16 Mar 2026 16:13:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A1=B5=E9=9D=A2=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/upload/upload.vue | 15 +++-------- pages/plugins/video/detail/detail.nvue | 29 ++++++++++++++++------ pages/plugins/video/detail/scrollMixins.js | 5 ++-- 3 files changed, 28 insertions(+), 21 deletions(-) diff --git a/components/upload/upload.vue b/components/upload/upload.vue index 5e7f7b24..a060aa37 100644 --- a/components/upload/upload.vue +++ b/components/upload/upload.vue @@ -74,11 +74,7 @@ propCallData: { type: [Number, String, Array, Object], default: '', - }, - propChooseFocus: { - type: Boolean, - default: false, - }, + } }, data() { return { @@ -125,6 +121,7 @@ //#endif //#ifdef APP-NVUE self.$emit('callBack', data.data, self.propCallData); + uni.$emit('callBack', data.data, self.propCallData); //#endif } else { self.$emit('call-back', data.data.url, self.propCallData); @@ -185,14 +182,10 @@ }, complete(res) { //#ifndef APP-NVUE - if (self.propChooseFocus) { - self.$emit('chooseFocus'); - } + self.$emit('chooseFocus'); //#endif //#ifdef APP-NVUE - if (self.propChooseFocus) { - uni.$emit('chooseFocus'); - } + uni.$emit('chooseFocus'); //#endif }, }); diff --git a/pages/plugins/video/detail/detail.nvue b/pages/plugins/video/detail/detail.nvue index 5f1e7797..a1aec369 100644 --- a/pages/plugins/video/detail/detail.nvue +++ b/pages/plugins/video/detail/detail.nvue @@ -4,7 +4,7 @@ - +