import ComponentA from './ComponentA'const componetA = ref 赞 踩 Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。
vue3 + typescript 部分类型声明(refs, route)_vue3+ts type '(to: routelocationnormalized, from:
route
import {
RouteLocationNormalized } from 'vue'
const $route: RouteLocationNormalized = useRoute();
$refs
<ComponentA ref="ComponentA"/>
import</