From 3a44facab77d75fabaae7143f136e1578cb6aacd Mon Sep 17 00:00:00 2001
From: zhenyuWang <13641039885@163.com>
Date: Tue, 23 Jan 2024 22:11:20 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E8=B0=83=E6=95=B4=E7=A4=BA=E4=BE=8B?=
=?UTF-8?q?=E5=8F=8A=E6=B5=8B=E8=AF=95=EF=BC=8C=E5=85=BC=E5=AE=B9=20web=20?=
=?UTF-8?q?=E7=AB=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../basic/define-expose/define-expose.test.js | 2 +-
.../basic/define-expose/define-expose.uvue | 2 +-
pages/composition-api/basic/use-slots/Foo.uvue | 2 +-
.../basic/use-slots/use-slots.test.js | 4 ++--
.../dependency-injection/provide/inject.uvue | 11 +++++++----
.../provide/provide-inject.test.js | 14 ++++++++------
.../reactivity/custom-ref/custom-ref.test.js | 13 ++++++++-----
.../reactivity/custom-ref/custom-ref.uvue | 4 ++--
.../reactivity/reactive/reactive.test.js | 6 +++---
.../reactivity/reactive/reactive.uvue | 2 +-
10 files changed, 34 insertions(+), 26 deletions(-)
diff --git a/pages/composition-api/basic/define-expose/define-expose.test.js b/pages/composition-api/basic/define-expose/define-expose.test.js
index e4ea03d..5ab000e 100644
--- a/pages/composition-api/basic/define-expose/define-expose.test.js
+++ b/pages/composition-api/basic/define-expose/define-expose.test.js
@@ -12,7 +12,7 @@ describe('defineExpose', () => {
const fooNum = await page.$('#foo-num')
expect(await fooNum.text()).toBe('num from component Foo: 0')
- const incrementBtn = await page.$('#increment-btn')
+ const incrementBtn = await page.$('.increment-btn')
await incrementBtn.tap()
expect(await fooNum.text()).toBe('num from component Foo: 1')
diff --git a/pages/composition-api/basic/define-expose/define-expose.uvue b/pages/composition-api/basic/define-expose/define-expose.uvue
index d5de479..c5d20b7 100644
--- a/pages/composition-api/basic/define-expose/define-expose.uvue
+++ b/pages/composition-api/basic/define-expose/define-expose.uvue
@@ -3,7 +3,7 @@
str from component Foo: {{fooStr}}
num from component Foo: {{fooNum}}
-
+
diff --git a/pages/composition-api/basic/use-slots/Foo.uvue b/pages/composition-api/basic/use-slots/Foo.uvue
index bea3cb5..a58efe7 100644
--- a/pages/composition-api/basic/use-slots/Foo.uvue
+++ b/pages/composition-api/basic/use-slots/Foo.uvue
@@ -4,7 +4,7 @@
check useSlots result: {{ checkUseSlotsRes }}
-