From 84e84e4b0f3e62278003573424c9da89ac274f2b Mon Sep 17 00:00:00 2001 From: hdx Date: Mon, 5 Aug 2024 15:38:39 +0800 Subject: [PATCH] =?UTF-8?q?fix(animation-frame):=20=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E5=91=BD=E5=90=8D=E4=B8=8D=E8=A7=84=E8=8C=83=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 4 ++-- .../cancel-animation-frame.test.js} | 2 +- .../cancel-animation-frame.uvue} | 0 .../request-animation-frame.test.js} | 2 +- .../request-animation-frame.uvue} | 0 5 files changed, 4 insertions(+), 4 deletions(-) rename pages/API/{cancelAnimationFrame/cancelAnimationFrame.test.js => cancel-animation-frame/cancel-animation-frame.test.js} (86%) rename pages/API/{cancelAnimationFrame/cancelAnimationFrame.uvue => cancel-animation-frame/cancel-animation-frame.uvue} (100%) rename pages/API/{requestAnimationFrame/requestAnimationFrame.test.js => request-animation-frame/request-animation-frame.test.js} (80%) rename pages/API/{requestAnimationFrame/requestAnimationFrame.uvue => request-animation-frame/request-animation-frame.uvue} (100%) diff --git a/pages.json b/pages.json index 2af5d4c2..764b0957 100644 --- a/pages.json +++ b/pages.json @@ -551,13 +551,13 @@ } }, { - "path": "pages/API/requestAnimationFrame/requestAnimationFrame", + "path": "pages/API/request-animation-frame/request-animation-frame", "style": { "navigationBarTitleText": "requestAnimationFrame | 请求帧动画队列" } }, { - "path": "pages/API/cancelAnimationFrame/cancelAnimationFrame", + "path": "pages/API/cancel-animation-frame/cancel-animation-frame", "style": { "navigationBarTitleText": "cancelAnimationFrame | 取消已加入的帧动画队列" } diff --git a/pages/API/cancelAnimationFrame/cancelAnimationFrame.test.js b/pages/API/cancel-animation-frame/cancel-animation-frame.test.js similarity index 86% rename from pages/API/cancelAnimationFrame/cancelAnimationFrame.test.js rename to pages/API/cancel-animation-frame/cancel-animation-frame.test.js index 4561422d..4c8f184f 100644 --- a/pages/API/cancelAnimationFrame/cancelAnimationFrame.test.js +++ b/pages/API/cancel-animation-frame/cancel-animation-frame.test.js @@ -1,4 +1,4 @@ -const PAGE_PATH = '/pages/API/cancelAnimationFrame/cancelAnimationFrame' +const PAGE_PATH = '/pages/API/cancel-animation-frame/cancel-animation-frame' describe('API-cancelAnimationFrame', () => { let page diff --git a/pages/API/cancelAnimationFrame/cancelAnimationFrame.uvue b/pages/API/cancel-animation-frame/cancel-animation-frame.uvue similarity index 100% rename from pages/API/cancelAnimationFrame/cancelAnimationFrame.uvue rename to pages/API/cancel-animation-frame/cancel-animation-frame.uvue diff --git a/pages/API/requestAnimationFrame/requestAnimationFrame.test.js b/pages/API/request-animation-frame/request-animation-frame.test.js similarity index 80% rename from pages/API/requestAnimationFrame/requestAnimationFrame.test.js rename to pages/API/request-animation-frame/request-animation-frame.test.js index 0dd34e40..82dbcca6 100644 --- a/pages/API/requestAnimationFrame/requestAnimationFrame.test.js +++ b/pages/API/request-animation-frame/request-animation-frame.test.js @@ -1,4 +1,4 @@ -const PAGE_PATH = '/pages/API/requestAnimationFrame/requestAnimationFrame' +const PAGE_PATH = '/pages/API/request-animation-frame/request-animation-frame' describe('API-requestAnimationFrame', () => { let page diff --git a/pages/API/requestAnimationFrame/requestAnimationFrame.uvue b/pages/API/request-animation-frame/request-animation-frame.uvue similarity index 100% rename from pages/API/requestAnimationFrame/requestAnimationFrame.uvue rename to pages/API/request-animation-frame/request-animation-frame.uvue -- GitLab