<template>
<test :count="count" @add="add"></test>
</template>
<script>
import {
ref, isRef }
判断是不是ref类型的变量
最新推荐文章于 2024-05-09 11:54:54 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
<template>
<test :count="count" @add="add"></test>
</template>
<script>
import {
ref, isRef }