随笔分类 - vue3
摘要:有三种方法 第一种 import { defineComponent, ref, getCurrentInstance } from 'vue'; const { proxy }: any = getCurrentInstance(); console.log(proxy.$router.curre
阅读全文
摘要:全局使用 cnpm i dayjs --save // main.ts import dayjs from 'dayjs' const app = createApp(App); app.use(store).use(router).use(ElementPlus).mount('#app') ap
阅读全文

浙公网安备 33010602011771号