From 4b29218a061e1a978247137895a57c324fbb7ba4 Mon Sep 17 00:00:00 2001 From: hzj <1304805162@qq.com> Date: Wed, 12 Nov 2025 18:22:17 +0800 Subject: [PATCH] =?UTF-8?q?test12(KYC=E9=A1=B5):=20=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E4=B8=8A=E4=BC=A0=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/uploadFiles.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/utils/uploadFiles.js b/src/utils/uploadFiles.js index 39c12cf..4d7d981 100644 --- a/src/utils/uploadFiles.js +++ b/src/utils/uploadFiles.js @@ -20,7 +20,8 @@ export function uploadImgFile(renderFun) { if (window.FlutterPageControl) { console.log('使用window.FlutterPageControl.postMessage(`需要调用uploadImgFile`)') // 直接使用Flutter通道 - window.FlutterPageControl.postMessage(`uploadImgFile`) + const result = window.FlutterPageControl.postMessage(`uploadImgFile`) + renderFun(result) } else { console.log('window.app.uploadImgFile和window.FlutterPageControl都不存在,使用降级处理') // 降级处理