diff --git a/pages.json b/pages.json
index e07e9a2a49f7d290b53b5bcb2336b4a8a358aa13..f48ef91acdb02850c1df0ff76e71a765b7e1a353 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 0000000000000000000000000000000000000000..820fc196b8de0c9715e5b8605c01af325a782a59
--- /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 0000000000000000000000000000000000000000..aa01b473a94c30a5399977821578be130cf4a0a5
--- /dev/null
+++ b/pages/API/interceptor/page1.uvue
@@ -0,0 +1,22 @@
+
+
+ 测试页面 1
+
+
+
+
+
+
\ 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 0000000000000000000000000000000000000000..f75d1e6c926d138f280a8376dd65a4c5f6d3828e
--- /dev/null
+++ b/pages/API/interceptor/page2.uvue
@@ -0,0 +1,22 @@
+
+
+ 测试页面 2
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/tabBar/API.uvue b/pages/tabBar/API.uvue
index 61c0dc4f2cb822def0a2071032b7facf534ef011..46c4a3fa88d98c9287dc5148ef4bf8d82395bdc7 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: '获取启动参数',