From ad182749bdb1e104ab6aa007a74ab10bc888111f Mon Sep 17 00:00:00 2001 From: qiang Date: Wed, 1 Nov 2023 16:54:24 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E6=8B=A6=E6=88=AA?= =?UTF-8?q?=E5=99=A8=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 18 ++++++++ pages/API/interceptor/interceptor.uvue | 62 ++++++++++++++++++++++++++ pages/API/interceptor/page1.uvue | 22 +++++++++ pages/API/interceptor/page2.uvue | 22 +++++++++ pages/tabBar/API.uvue | 5 +++ 5 files changed, 129 insertions(+) create mode 100644 pages/API/interceptor/interceptor.uvue create mode 100644 pages/API/interceptor/page1.uvue create mode 100644 pages/API/interceptor/page2.uvue diff --git a/pages.json b/pages.json index e07e9a2a..f48ef91a 100644 --- a/pages.json +++ b/pages.json @@ -367,6 +367,24 @@ "style": { "navigationBarTitleText": "获取定位" } + }, + { + "path": "pages/API/interceptor/interceptor", + "style": { + "navigationBarTitleText": "拦截器" + } + }, + { + "path": "pages/API/interceptor/page1", + "style": { + "navigationBarTitleText": "拦截器测试页面 1" + } + }, + { + "path": "pages/API/interceptor/page2", + "style": { + "navigationBarTitleText": "拦截器测试页面 2" + } }, { "path": "pages/tabBar/CSS", diff --git a/pages/API/interceptor/interceptor.uvue b/pages/API/interceptor/interceptor.uvue new file mode 100644 index 00000000..820fc196 --- /dev/null +++ b/pages/API/interceptor/interceptor.uvue @@ -0,0 +1,62 @@ + + + + + \ No newline at end of file diff --git a/pages/API/interceptor/page1.uvue b/pages/API/interceptor/page1.uvue new file mode 100644 index 00000000..aa01b473 --- /dev/null +++ b/pages/API/interceptor/page1.uvue @@ -0,0 +1,22 @@ + + + + + \ No newline at end of file diff --git a/pages/API/interceptor/page2.uvue b/pages/API/interceptor/page2.uvue new file mode 100644 index 00000000..f75d1e6c --- /dev/null +++ b/pages/API/interceptor/page2.uvue @@ -0,0 +1,22 @@ + + + + + \ No newline at end of file diff --git a/pages/tabBar/API.uvue b/pages/tabBar/API.uvue index 61c0dc4f..46c4a3fa 100644 --- a/pages/tabBar/API.uvue +++ b/pages/tabBar/API.uvue @@ -77,6 +77,11 @@ name: '事件总线event-bus', url: 'event-bus', api: ["$on", "$once", "$off", "$emit"] + }, + { + name: '拦截器', + url: 'interceptor', + api: ["addInterceptor", "removeInterceptor"] }, { name: '获取启动参数', -- GitLab