diff --git a/pages/composition-api/reactivity/on-scope-dispose/on-scope-dispose.test.js b/pages/composition-api/reactivity/on-scope-dispose/on-scope-dispose.test.js
new file mode 100644
index 0000000000000000000000000000000000000000..7c37daa0b320e1a44a31e83f67021f7bafb18d98
--- /dev/null
+++ b/pages/composition-api/reactivity/on-scope-dispose/on-scope-dispose.test.js
@@ -0,0 +1,29 @@
+const PAGE_PATH = '/pages/composition-api/reactivity/on-scope-dispose/on-scope-dispose'
+
+describe('onScopeDispose', () => {
+ if (process.env.uniTestPlatformInfo.startsWith('android')) {
+ let page = null
+ beforeAll(async () => {
+ page = await program.reLaunch(PAGE_PATH)
+ await page.waitFor('view')
+ })
+ it('basic', async () => {
+ const hasCurrentScope = await page.$('#has-current-scope')
+ expect(await hasCurrentScope.text()).toBe('hasCurrentScope: false')
+
+ const createScopeBtn = await page.$('#create-scope-btn')
+ await createScopeBtn.tap()
+
+ expect(await hasCurrentScope.text()).toBe('hasCurrentScope: true')
+
+ const stopScopeBtn = await page.$('#stop-scope-btn')
+ await stopScopeBtn.tap()
+
+ expect(await hasCurrentScope.text()).toBe('hasCurrentScope: false')
+ })
+ } else {
+ it('other platform', () => {
+ expect(1).toBe(1)
+ })
+ }
+})
\ No newline at end of file
diff --git a/pages/composition-api/reactivity/on-scope-dispose/on-scope-dispose.uvue b/pages/composition-api/reactivity/on-scope-dispose/on-scope-dispose.uvue
index 6de43acc985dd49beba6e7d3ad0b31035ada6540..f0af9cb9d5e190c4b1dcce3de41275bd59c49f74 100644
--- a/pages/composition-api/reactivity/on-scope-dispose/on-scope-dispose.uvue
+++ b/pages/composition-api/reactivity/on-scope-dispose/on-scope-dispose.uvue
@@ -1 +1,29 @@
- onScopeDispose
\ No newline at end of file
+
+
+ hasCurrentScope: {{ hasCurrentScope }}
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/tab-bar/composition-api.uvue b/pages/tab-bar/composition-api.uvue
index 6a86d42cba0ecc2b5e9b873d7efb1eb2bed4825d..5757268b0504b390d108b0cd5f701d4c753b47b0 100644
--- a/pages/tab-bar/composition-api.uvue
+++ b/pages/tab-bar/composition-api.uvue
@@ -211,7 +211,7 @@
{
name: 'onScopeDispose',
url: 'on-scope-dispose',
- enable: false,
+ enable: true,
},
] as PageItem[],
}