为了视频可以看远程我电脑修改的问题
parent
84c17f60d7
commit
47db89eb73
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name" : "海驰24",
|
||||
"appid" : "__UNI__7302921",
|
||||
"appid" : "__UNI__F8B45C3",
|
||||
"description" : "111",
|
||||
"versionName" : "1.2.6",
|
||||
"versionCode" : 106,
|
||||
|
|
@ -62,6 +62,12 @@
|
|||
"parameters" : {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"optimization" : {
|
||||
"subPackages" : true,
|
||||
"treeShaking" : {
|
||||
"enable" : false
|
||||
}
|
||||
}
|
||||
},
|
||||
"quickapp" : {},
|
||||
|
|
|
|||
|
|
@ -142,7 +142,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' });
|
||||
|
|
|
|||
Loading…
Reference in New Issue