From 9f015f354e5348e41aa5b990364d764df15de149 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 154e80cc..8cefe49b 100644 --- a/pages.json +++ b/pages.json @@ -540,13 +540,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