diff --git a/packages/varlet-ui/src/checkbox-group/CheckboxGroup.vue b/packages/varlet-ui/src/checkbox-group/CheckboxGroup.vue index 9be645e0b14..9a472d90281 100644 --- a/packages/varlet-ui/src/checkbox-group/CheckboxGroup.vue +++ b/packages/varlet-ui/src/checkbox-group/CheckboxGroup.vue @@ -1,5 +1,5 @@ @@ -29,7 +28,6 @@ import type { Ref } from 'vue' export default defineComponent({ name: 'VarIcon', - inheritAttrs: false, props, setup(props) { const nextName: Ref = ref('') diff --git a/packages/varlet-ui/src/row/Row.vue b/packages/varlet-ui/src/row/Row.vue index 16b46df307e..2d1bcfd6211 100644 --- a/packages/varlet-ui/src/row/Row.vue +++ b/packages/varlet-ui/src/row/Row.vue @@ -5,7 +5,6 @@ justifyContent: justify, alignItems: align }" - v-bind="$attrs" @click="onClick" > @@ -22,7 +21,6 @@ import type { RowProvider } from './provide' export default defineComponent({ name: 'VarRow', - inheritAttrs: false, props, setup(props) { const { cols, bindCols, length } = useCols() diff --git a/packages/varlet-ui/src/uploader/Uploader.vue b/packages/varlet-ui/src/uploader/Uploader.vue index 17ae296582b..507fdb981d2 100644 --- a/packages/varlet-ui/src/uploader/Uploader.vue +++ b/packages/varlet-ui/src/uploader/Uploader.vue @@ -72,8 +72,8 @@ x5-video-player-type="h5" x5-video-player-fullscreen="false" controls - :src="currentPreview.url" - v-if="currentPreview && isHTMLSupportVideo(currentPreview.url)" + :src="currentPreview?.url" + v-if="currentPreview && isHTMLSupportVideo(currentPreview?.url)" >