diff --git a/packages/uni-h5/src/view/components/picker/index.tsx b/packages/uni-h5/src/view/components/picker/index.tsx index b4443697d69072797995e2ae4bd751c7ecaa2332..a66166198d5ec3fffb172fa5399b62ad30d39130 100644 --- a/packages/uni-h5/src/view/components/picker/index.tsx +++ b/packages/uni-h5/src/view/components/picker/index.tsx @@ -256,7 +256,7 @@ export default /*#__PURE__*/ defineBuiltInComponent({ _createDate() _setValueSync() - const popup = usePopupStyle(props) + const popup = usePopupStyle(state) watchEffect(() => { state.isDesktop = popup.isDesktop.value state.popupStyle = popup.popupStyle.value