<script lang="ts" setup>
import type { IProps } from "./type"
import { withDefaults, defineProps } from "vue"
// interface IProps {
// title: string
// activeBgc?: string
// activeColor?: string
// }
const props = defineProps()
script>
<script lang="ts" setup>
// import type { IProps } from "./type"
import { withDefaults, defineProps } from "vue"
interface IProps {
title: string
activeBgc?: string
activeColor?: string
}
const props = defineProps()
script>
content 这个属性 为null 了 你看看 哪里用到了 。
没见到有content啊