Commit e30b4fbc authored by liujiangnan's avatar liujiangnan

debug

parent 57355c88
...@@ -113,6 +113,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -113,6 +113,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
const pageId = this.data.pageArr[this.currentPageIdx].pageIdx; const pageId = this.data.pageArr[this.currentPageIdx].pageIdx;
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
window["air"].osmoFingerReadCallback = (result) => { window["air"].osmoFingerReadCallback = (result) => {
this.showTips(result);
const resultObj = JSON.parse(result); const resultObj = JSON.parse(result);
const p = resultObj.finger_pos_in_page; const p = resultObj.finger_pos_in_page;
if (p.x == -1 || p.y == -1) { if (p.x == -1 || p.y == -1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment