diff --git a/packages/uni-components/src/nvue/switch/index.tsx b/packages/uni-components/src/nvue/switch/index.tsx index beff20b7797e206630286f3ad1ea440fdf4176ac..a0e11ebe5d77eb58cfe34fab04973e45fdea7b5e 100644 --- a/packages/uni-components/src/nvue/switch/index.tsx +++ b/packages/uni-components/src/nvue/switch/index.tsx @@ -75,14 +75,18 @@ export default defineComponent({ useListeners(props, { 'label-click': _onClick }) return () => { - const { color, type } = props + const { color, type, disabled } = props return (