<script lang="ts">
import {getCurrentInstance} from 'vue';
export default defineComponent({
setup(){
const { proxy }: any = getCurrentInstance();
}
})
</script>
vue3中设置this
猜你喜欢
转载自blog.csdn.net/qq_46376192/article/details/129121415
今日推荐
周排行