Commit a821578c authored by liujiangnan's avatar liujiangnan

test

parent c63621fc
......@@ -115,6 +115,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
return;
}
// 为了测试方便
return;
let checkSuccess = false;
// 定时三秒检测
const timeout = new Promise((resolve, reject) => {
......@@ -150,6 +153,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
return true;
}
// 为了测试方便
return true;
const hotRect = this.data.pageArr[this.currentPageIdx].hotZoneItemArr[this.currentPartIdx].rect;
const { width, height } = this.data.pageArr[this.currentPageIdx].bgItem.rect;
const checkInRegion = (p) => {
......
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