diff --git a/packages/uni-components/dist/components.js b/packages/uni-components/dist/components.js index d6c7cc6525aed94d2c9d76d7da46babc1587b004..f00c9f52c3cbddf440cb1a0182229b2c80634a20 100644 --- a/packages/uni-components/dist/components.js +++ b/packages/uni-components/dist/components.js @@ -2782,12 +2782,10 @@ var Picker = /* @__PURE__ */ defineComponent({ }); _setValueSync(); return () => { - return createVNode(resolveComponent("uni-picker"), { + return createVNode("view", { "ref": rootRef, "onClick": _show - }, { - default: () => [slots.default && slots.default()] - }); + }, [slots.default && slots.default()]); }; } }); diff --git a/packages/uni-components/src/nvue/picker/index.tsx b/packages/uni-components/src/nvue/picker/index.tsx index 888ce6cd8d20b7937b50590bbe2afd5624057c92..f4161fe0ac68e7f01f51504c956dc9e416f75e6d 100644 --- a/packages/uni-components/src/nvue/picker/index.tsx +++ b/packages/uni-components/src/nvue/picker/index.tsx @@ -318,9 +318,9 @@ export default /*#__PURE__*/ defineComponent({ return () => { return ( - + {slots.default && slots.default()} - + ) } },