diff --git a/pages.json b/pages.json index d2326c9d6fca609152e9c8d1c66d2892137deed4..fdd29e7070b712282197c96557ea8b09f13434ca 100644 --- a/pages.json +++ b/pages.json @@ -1109,7 +1109,7 @@ }, // #ifndef WEB { - "path": "pages/API/get-native-view/get-native-view", + "path": "pages/API/get-native-view/element-getnativeview", "group": "1,3,2", "style": { "navigationBarTitleText": "getNativeView | 获取原生 View", @@ -2744,4 +2744,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/pages/API/get-native-view/get-native-view.test.js b/pages/API/get-native-view/element-getnativeview.test.js similarity index 92% rename from pages/API/get-native-view/get-native-view.test.js rename to pages/API/get-native-view/element-getnativeview.test.js index 2ca543472e026d538a23e780447d5a6d5b21b7b0..45fb516c19ff870def5e7b017fd8f1d50fae23eb 100644 --- a/pages/API/get-native-view/get-native-view.test.js +++ b/pages/API/get-native-view/element-getnativeview.test.js @@ -7,7 +7,7 @@ describe('get-native-view', () => { } let page beforeAll(async () => { - page = await program.reLaunch('/pages/API/get-native-view/get-native-view') + page = await program.reLaunch('/pages/API/get-native-view/element-getnativeview') await page.waitFor('web-view') }) diff --git a/pages/API/get-native-view/get-native-view.uvue b/pages/API/get-native-view/element-getnativeview.uvue similarity index 100% rename from pages/API/get-native-view/get-native-view.uvue rename to pages/API/get-native-view/element-getnativeview.uvue