diff --git a/pages/API/get-current-pages/get-current-pages.uvue b/pages/API/get-current-pages/get-current-pages.uvue index aa2b082c91587be6efc109694c6d5faf139ae5a5..1ee74e12af7df484601db59ae207582e29797d35 100644 --- a/pages/API/get-current-pages/get-current-pages.uvue +++ b/pages/API/get-current-pages/get-current-pages.uvue @@ -197,8 +197,15 @@ }, checkGetElementById() : boolean { const page = this.getCurrentPage() - const element = page.getElementById('check-get-element-by-id-btn') - const res = element != null + const element = page.getElementById('check-get-element-by-id-btn') + let res = element != null + // #ifndef APP-ANDROID + if(res){ + const elPage = element.getPage() + console.log('elPage', elPage) + res = elPage === page + } + // #endif console.log('check getElementById', res) return res },