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 阅读全文
posted @ 2021-05-31 12:20 小蘑菇123 阅读(5439) 评论(0) 推荐(0) 编辑
摘要:1、script lang="ts" 引入: import { ElMessage, ElMessageBox } from 'element-plus'; 2、setup 点击事件绑定: function handleDelete(row: any) { // console.log(row.id 阅读全文
posted @ 2021-05-26 13:52 小蘑菇123 阅读(5540) 评论(0) 推荐(0) 编辑
摘要:1、setup 中,定义数组: const tableDataList = reactive([]); forEach 循环报错, 2、解决办法: const tableDataList = reactive([]); 修改为:const tableDataList = reactive({list 阅读全文
posted @ 2021-05-26 09:58 小蘑菇123 阅读(5004) 评论(0) 推荐(1) 编辑
摘要:错误信息如下: 引入404页面: import NotFound from '@/views/404'; 引用路由(重定向): { path: '/404', name: '404', component: NotFound }, { path: '/:pathMatch(.*)', redirec 阅读全文
posted @ 2021-05-14 15:01 小蘑菇123 阅读(1042) 评论(1) 推荐(1) 编辑
摘要:1、视频查看按钮: <div class="video_btn" @click="showVideo"> <img style="display: inline-block;vertical-align: middle;width: 18px;" src="../../assets/software 阅读全文
posted @ 2021-05-07 11:25 小蘑菇123 阅读(245) 评论(2) 推荐(0) 编辑

点击右上角即可分享
微信分享提示