瀏覽代碼

fix: props

xingyu 1 年之前
父節點
當前提交
52755b38a9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/Card/src/CardTitle.vue

+ 1 - 1
src/components/Card/src/CardTitle.vue

@@ -3,7 +3,7 @@ defineComponent({
   name: 'CardTitle'
 })
 
-const { title } = defineProps({
+defineProps({
   title: {
     type: String,
     required: true