From fecaa7951e61b23d4aeda41c422c42c5ef3a6237 Mon Sep 17 00:00:00 2001 From: DCloud_LXH <283700113@qq.com> Date: Mon, 14 Feb 2022 19:00:10 +0800 Subject: [PATCH] chore(nvue): div -> view --- packages/uni-components/src/nvue/label/index.tsx | 2 +- packages/uni-components/src/nvue/movable-area/index.tsx | 4 ++-- packages/uni-components/src/nvue/movable-view/index.tsx | 4 ++-- .../uni-components/src/nvue/picker-view-column/index.tsx | 8 ++++---- packages/uni-components/src/nvue/picker-view/index.tsx | 6 +++--- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/packages/uni-components/src/nvue/label/index.tsx b/packages/uni-components/src/nvue/label/index.tsx index 5a7003b35..577ec0f04 100644 --- a/packages/uni-components/src/nvue/label/index.tsx +++ b/packages/uni-components/src/nvue/label/index.tsx @@ -39,7 +39,7 @@ export default /*#__PURE__*/ defineComponent({ } return () => ( -
{slots.default && slots.default()}
+ {slots.default && slots.default()} ) }, }) diff --git a/packages/uni-components/src/nvue/movable-area/index.tsx b/packages/uni-components/src/nvue/movable-area/index.tsx index 821f7a3a7..52be9e0a8 100644 --- a/packages/uni-components/src/nvue/movable-area/index.tsx +++ b/packages/uni-components/src/nvue/movable-area/index.tsx @@ -120,9 +120,9 @@ export default defineComponent({ const defaultSlots = slots.default && slots.default() const movableViewItems = flatVNode(defaultSlots) return ( -
+ {movableViewItems} -
+ ) } }, diff --git a/packages/uni-components/src/nvue/movable-view/index.tsx b/packages/uni-components/src/nvue/movable-view/index.tsx index cd306fe30..f4c6c665d 100644 --- a/packages/uni-components/src/nvue/movable-view/index.tsx +++ b/packages/uni-components/src/nvue/movable-view/index.tsx @@ -148,7 +148,7 @@ export default defineComponent({ preventGesture: true, } return ( -
{slots.default && slots.default()} -
+ ) } }, diff --git a/packages/uni-components/src/nvue/picker-view-column/index.tsx b/packages/uni-components/src/nvue/picker-view-column/index.tsx index 3901eb62e..d72b03106 100644 --- a/packages/uni-components/src/nvue/picker-view-column/index.tsx +++ b/packages/uni-components/src/nvue/picker-view-column/index.tsx @@ -153,14 +153,14 @@ export default defineComponent({ } return ( -
+ -
{createScrollViewChild(children)} -
+
-
+ ) } }, diff --git a/packages/uni-components/src/nvue/picker-view/index.tsx b/packages/uni-components/src/nvue/picker-view/index.tsx index 54e15be73..65cf3345a 100644 --- a/packages/uni-components/src/nvue/picker-view/index.tsx +++ b/packages/uni-components/src/nvue/picker-view/index.tsx @@ -70,15 +70,15 @@ export default defineComponent({ const defaultSlots = slots.default && slots.default() columnVNodes = flatVNode(defaultSlots) return ( -
-
{defaultSlots}
-
+ {defaultSlots} + ) } }, -- GitLab