|
@@ -298,16 +298,16 @@ onBeforeMount(() => {
|
|
|
}
|
|
|
//左滑动
|
|
|
if (e?.data?.result == 'next_item') {
|
|
|
- // proxy?.$modal.msgSuccess('手势指令:左滑动');
|
|
|
- // if (projectList.value.length == 0) {
|
|
|
- // return false;
|
|
|
- // }
|
|
|
- // slideChange();
|
|
|
+ proxy?.$modal.msgSuccess('手势指令:左滑动');
|
|
|
+ if (projectList.value.length == 0) {
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ slideChange();
|
|
|
}
|
|
|
//举左手
|
|
|
if (e?.data?.result == 'left_hand') {
|
|
|
- // proxy?.$modal.msgSuccess('手势指令:举左手');
|
|
|
- // confirm();
|
|
|
+ proxy?.$modal.msgSuccess('手势指令:举左手');
|
|
|
+ confirm();
|
|
|
}
|
|
|
//退出
|
|
|
if (e?.data?.result == 'exit') {
|