05 2021 档案
摘要:1、安装i18n: npm install vue-i18n@next 2、main.ts 引入: import { createApp } from 'vue'; import App from './App.vue'; import router from './router'; import
阅读全文
摘要:1、script lang="ts" 引入: import { ElMessage, ElMessageBox } from 'element-plus'; 2、setup 点击事件绑定: function handleDelete(row: any) { // console.log(row.id
阅读全文
摘要:1、setup 中,定义数组: const tableDataList = reactive([]); forEach 循环报错, 2、解决办法: const tableDataList = reactive([]); 修改为:const tableDataList = reactive({list
阅读全文
摘要:错误信息如下: 引入404页面: import NotFound from '@/views/404'; 引用路由(重定向): { path: '/404', name: '404', component: NotFound }, { path: '/:pathMatch(.*)', redirec
阅读全文
摘要:1、视频查看按钮: <div class="video_btn" @click="showVideo"> <img style="display: inline-block;vertical-align: middle;width: 18px;" src="../../assets/software
阅读全文