摘要: 1、子组建定义方法,并对外暴露 <script setup lang="ts"> import {computed, reactive, ref,defineExpose} from "vue"; /** * 定义方法 */ const initData = () => { console.info 阅读全文
posted @ 2023-04-18 17:20 星空的轨迹 阅读(820) 评论(0) 推荐(0)