diff --git a/pages/composition-api/reactivity/is-readonly/is-readonly.test.js b/pages/composition-api/reactivity/is-readonly/is-readonly.test.js
new file mode 100644
index 0000000000000000000000000000000000000000..b33ec7f2349262cbed507e0d3e920cf935200736
--- /dev/null
+++ b/pages/composition-api/reactivity/is-readonly/is-readonly.test.js
@@ -0,0 +1,34 @@
+const PAGE_PATH = '/pages/composition-api/reactivity/is-readonly/is-readonly'
+
+describe('isReadonly', () => {
+ 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 isReadonlyCount = await page.$('#is-readonly-count')
+ expect(await isReadonlyCount.text()).toBe('isReadonly(count): false')
+
+ const isReadonlyRefCount = await page.$('#is-readonly-ref-count')
+ expect(await isReadonlyRefCount.text()).toBe('isReadonly(refCount): false')
+
+ const isReadonlyReactiveCount = await page.$('#is-readonly-reactive-count')
+ expect(await isReadonlyReactiveCount.text()).toBe('isReadonly(reactiveCount): false')
+
+ const isReadonlyReadonlyCount = await page.$('#is-readonly-readonly-count')
+ expect(await isReadonlyReadonlyCount.text()).toBe('isReadonly(readonlyCount): true')
+
+ const isReadonlyShallowReactiveCount = await page.$('#is-readonly-shallow-reactive-count')
+ expect(await isReadonlyShallowReactiveCount.text()).toBe('isReadonly(shallowReactiveCount): false')
+
+ const isReadonlyShallowReadonlyCount = await page.$('#is-readonly-shallow-readonly-count')
+ expect(await isReadonlyShallowReadonlyCount.text()).toBe('isReadonly(shallowReadonlyCount): true')
+ })
+ } else {
+ it('other platform', () => {
+ expect(1).toBe(1)
+ })
+ }
+})
\ No newline at end of file
diff --git a/pages/composition-api/reactivity/is-readonly/is-readonly.uvue b/pages/composition-api/reactivity/is-readonly/is-readonly.uvue
index 52495195780b1791b324a9906890df13774309d1..5a8042f5bc74899423c31b87fbac320acba7bf06 100644
--- a/pages/composition-api/reactivity/is-readonly/is-readonly.uvue
+++ b/pages/composition-api/reactivity/is-readonly/is-readonly.uvue
@@ -1 +1,34 @@
- isReadonly
\ No newline at end of file
+
+
+ isReadonly(count): {{ isProxyCount }}
+ isReadonly(refCount): {{ isProxyRefCount }}
+ isReadonly(reactiveCount):
+ {{ isProxyReactiveCount }}
+ isReadonly(readonlyCount):
+ {{ isProxyReadonlyCount }}
+ isReadonly(shallowReactiveCount):
+ {{ isProxyShallowReactiveCount }}
+ isReadonly(shallowReadonlyCount):
+ {{ isProxyShallowReadonlyCount }}
+
+
+
+
\ No newline at end of file
diff --git a/pages/tab-bar/composition-api.uvue b/pages/tab-bar/composition-api.uvue
index 803ca3e146edb425c0198710e088a90b0a3371c1..01493cc9cff68082588e13ae635202b91318371c 100644
--- a/pages/tab-bar/composition-api.uvue
+++ b/pages/tab-bar/composition-api.uvue
@@ -161,7 +161,7 @@
{
name: 'isReadonly',
url: 'is-readonly',
- enable: false,
+ enable: true,
},
{
name: 'shallowRef',