提交 7733617e 编写于 作者: fxy060608's avatar fxy060608

fix(app-nvue): picker

上级 2ba4f79d
...@@ -2782,12 +2782,10 @@ var Picker = /* @__PURE__ */ defineComponent({ ...@@ -2782,12 +2782,10 @@ var Picker = /* @__PURE__ */ defineComponent({
}); });
_setValueSync(); _setValueSync();
return () => { return () => {
return createVNode(resolveComponent("uni-picker"), { return createVNode("view", {
"ref": rootRef, "ref": rootRef,
"onClick": _show "onClick": _show
}, { }, [slots.default && slots.default()]);
default: () => [slots.default && slots.default()]
});
}; };
} }
}); });
......
...@@ -318,9 +318,9 @@ export default /*#__PURE__*/ defineComponent({ ...@@ -318,9 +318,9 @@ export default /*#__PURE__*/ defineComponent({
return () => { return () => {
return ( return (
<uni-picker ref={rootRef} onClick={_show}> <view ref={rootRef} onClick={_show}>
{slots.default && slots.default()} {slots.default && slots.default()}
</uni-picker> </view>
) )
} }
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册