vue3+setup使用知识点
<script lang="ts" setup>import {getCoupon} from './request';//request里面包含接口,此处是引入getCoupon这个接口import { onMounted, reactive, ref, getCurrentInstance, onActivated } from 'vue';import { useRoute, useRouter } from 'vue-router';const route = useRoute
原创
2022-03-03 11:39:52 ·
640 阅读 ·
0 评论