From 2bf071cb816e77e677097e19e4260fe9e1d9359a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=A3=8A?= <1633537611@qq.com> Date: Fri, 20 Oct 2023 16:17:30 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=81=E7=A7=BBtransitionend=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=88=B0general-event=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 2 +- .../transition-event.test.js | 2 +- .../{transition-event => general-event}/transition-event.uvue | 0 pages/pages.test.js | 2 +- pages/tabBar/component.uvue | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename pages/component/{transition-event => general-event}/transition-event.test.js (82%) rename pages/component/{transition-event => general-event}/transition-event.uvue (100%) diff --git a/pages.json b/pages.json index f9c6e00a..22202105 100644 --- a/pages.json +++ b/pages.json @@ -1003,7 +1003,7 @@ } }, { - "path" : "pages/component/transition-event/transition-event", + "path" : "pages/component/general-event/transition-event", "style" : { "navigationBarTitleText" : "transitionend事件", diff --git a/pages/component/transition-event/transition-event.test.js b/pages/component/general-event/transition-event.test.js similarity index 82% rename from pages/component/transition-event/transition-event.test.js rename to pages/component/general-event/transition-event.test.js index def2ec25..8f1f55d4 100644 --- a/pages/component/transition-event/transition-event.test.js +++ b/pages/component/general-event/transition-event.test.js @@ -4,7 +4,7 @@ describe('transition event', () => { let page; beforeAll(async () => { - page = await program.reLaunch('/pages/component/transition-event/transition-event') + page = await program.reLaunch('/pages/component/general-event/transition-event') await page.waitFor(3000); }); diff --git a/pages/component/transition-event/transition-event.uvue b/pages/component/general-event/transition-event.uvue similarity index 100% rename from pages/component/transition-event/transition-event.uvue rename to pages/component/general-event/transition-event.uvue diff --git a/pages/pages.test.js b/pages/pages.test.js index 0af0840b..87caf6ff 100755 --- a/pages/pages.test.js +++ b/pages/pages.test.js @@ -37,7 +37,7 @@ const pages = [ '/pages/component/view/view', // '/pages/component/web-view/web-view', // 动态内容 '/pages/component/web-view-local/web-view-local', - '/pages/component/transition-event/transition-event', + '/pages/component/general-event/transition-event', // CSS '/pages/CSS/background/background-color', diff --git a/pages/tabBar/component.uvue b/pages/tabBar/component.uvue index bb99f3a3..a2cf74fa 100644 --- a/pages/tabBar/component.uvue +++ b/pages/tabBar/component.uvue @@ -256,7 +256,7 @@ export default { enable: true, },{ name: 'Transition事件', - url: '/pages/component/transition-event/transition-event', + url: '/pages/component/general-event/transition-event', enable: true, }, ] as Page[], -- GitLab