Merge remote-tracking branch 'origin/master'

master
denghaohaoya 2026-04-08 00:14:31 +08:00
commit 62b5b05e25
3 changed files with 18 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name" : "海驰24",
"appid" : "__UNI__7302921",
"appid" : "__UNI__F8B45C3",
"description" : "111",
"versionName" : "1.2.6",
"versionCode" : 106,
@ -67,6 +67,12 @@
"parameters" : {}
}
}
},
"optimization" : {
"subPackages" : true,
"treeShaking" : {
"enable" : false
}
}
},
"quickapp" : {},

0
nativeplugins/ry-ipc-video/package.json Normal file → Executable file
View File

View File

@ -163,7 +163,17 @@
// 在 nvue 中调用组件的方法,有时可能需要通过 evalJS但绝大多数情况可以直接调
if (typeof this.$refs.ipcVideo.start === 'function') {
this.$refs.ipcVideo.start();
try{
this.$refs.ipcVideo.start();
}
catch(err){
console.error("this.$refs.ipcVideo.start时发生前端异常:", err);
uni.showModal({
title: '前端回调解析异常',
content: err.toString(),
showCancel: false
});
}
} else {
console.error('start 方法不存在,可能插件注册失败或版本未生效');
// uni.showToast({ title: '插件方法未找到', icon: 'none' }); // 暂时注释掉