Commit 52755b38 by xingyu

fix: props

parent 13f31c19
...@@ -3,7 +3,7 @@ defineComponent({ ...@@ -3,7 +3,7 @@ defineComponent({
name: 'CardTitle' name: 'CardTitle'
}) })
const { title } = defineProps({ defineProps({
title: { title: {
type: String, type: String,
required: true required: true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment