diff --git a/pages/API/get-element-by-id/get-element-by-id-multiple-root-node.uvue b/pages/API/get-element-by-id/get-element-by-id-multiple-root-node.uvue index 66165ecba60ffaafb9eb4150684a790940a727c1..bbce9555e98c17beb16923fddca8e4fcb501a4fc 100644 --- a/pages/API/get-element-by-id/get-element-by-id-multiple-root-node.uvue +++ b/pages/API/get-element-by-id/get-element-by-id-multiple-root-node.uvue @@ -1,52 +1,47 @@ - - - diff --git a/pages/API/get-element-by-id/get-element-by-id.uvue b/pages/API/get-element-by-id/get-element-by-id.uvue index 6201accdf94dc243112b723d977c1ab5db41efd9..24559446a92436dd78e90a99b28129f60c6b8adc 100644 --- a/pages/API/get-element-by-id/get-element-by-id.uvue +++ b/pages/API/get-element-by-id/get-element-by-id.uvue @@ -3,9 +3,7 @@ this is text - this is view + this is view @@ -23,37 +21,37 @@ + diff --git a/pages/API/navigator/new-page/onLoad.test.js b/pages/API/navigator/new-page/onLoad.test.js index e85097dc0d772f8114abb4f3af388179177c0896..764421e13ee31ef236016512110e358485e332e0 100644 --- a/pages/API/navigator/new-page/onLoad.test.js +++ b/pages/API/navigator/new-page/onLoad.test.js @@ -72,7 +72,7 @@ describe("onLoad", () => { failureThreshold: 0.05, failureThresholdType: "percent", }); - await page.waitFor("view"); + await program.callUniMethod('hideToast') }); it("showLoading", async () => { page = await program.reLaunch(INTERMEDIATE_PAGE_PATH); @@ -90,7 +90,8 @@ describe("onLoad", () => { expect(image).toMatchImageSnapshot({ failureThreshold: 0.05, failureThresholdType: "percent", - }); + }); + await program.callUniMethod('hideLoading') }); it("showModal", async () => { page = await program.reLaunch(INTERMEDIATE_PAGE_PATH); diff --git a/pages/tabBar/API.uvue b/pages/tabBar/API.uvue index 502f38753fb17def484426490fa2a9d17aa96b4f..99feb769992189d0698eb9f81368108ac64792c1 100644 --- a/pages/tabBar/API.uvue +++ b/pages/tabBar/API.uvue @@ -154,12 +154,6 @@ name: 'element元素', url: 'get-element-by-id', api: ["getElementById"], - // #ifdef APP-ANDROID - enable: true, - // #endif - // #ifndef APP-ANDROID - enable: false, - // #endif }, { name: 'element draw',