diff --git a/pages.json b/pages.json index 09868bb25b1cc089d83e1db9b58704a6cbcaf139..2fc32d33258f9f90664cc241d4c268a230c95a6f 100644 --- a/pages.json +++ b/pages.json @@ -366,6 +366,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 @@ + + + + + \ 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 @@ + + + + + \ No newline at end of file diff --git a/pages/tabBar/API.uvue b/pages/tabBar/API.uvue index 03fa02c73fe1bfbae312db53740c9685ad081c30..a002cb775d8a7d192aaaab6bdabcdf8547f41cf7 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: '获取启动参数',