diff --git a/pages.json b/pages.json index 2af5d4c2cf04d8e4ed8cdf95e0debeedf32f2cb2..764b09579cafc59ec3d634c236152374d83f64ec 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 4561422dfd42e164c81086d298a0d65abf03f1e1..4c8f184fbbe58d5e90060d4d1c5a3f2ebc3c6f1c 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 0dd34e40d032a02b1f037016de3dab6ed3acd2eb..82dbcca626b6eb19d46b2b8c65f88ec1a4acf03b 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