# EVA-VUE3 **Repository Path**: mefisto/eva-vue3 ## Basic Information - **Project Name**: EVA-VUE3 - **Description**: vue3+ts+elementPlus - **Primary Language**: JavaScript - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-05-18 - **Last Updated**: 2022-06-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Vue 3 + Vite This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 ` 包裹js代码 3. 赋值使用ref绑定双向数据监听 4. input的值无法输入,检查一下ref是否和v-model重名了 5. watch 监听 watch(() => useRouter().currentRoute.value.path, (toPath) => { console.log('toPath', toPath) }, {immediate: true, deep: true}) 6. 引入图片路径
  • 8. router 跳转 import {useRouter} from 'vue-router' const router = useRouter(); //必须先声明的 router.push({ path: '/editPassword', query: {} }) === 中文时间或日期选择器 import zhCn from "element-plus/lib/locale/lang/zh-cn"; const locale = ref(zhCn)