上一页 1 2 3 4 5 6 7 ··· 20 下一页
摘要: <table class="table table-bordered table-striped table-hover table-hover table-responsive" style="table-layout:fixed;word-break:break-all"> <thead> <t 阅读全文
posted @ 2021-06-25 16:22 小蘑菇123 阅读(564) 评论(0) 推荐(0) 编辑
摘要: css: width: 270px; height: 270px; object-fit: cover; flex: 1; 阅读全文
posted @ 2021-06-25 11:05 小蘑菇123 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 1、安装svg: npm install svg-sprite-loader --save-dev 2、在 components 中,创建 SvgIcon,引入 svg 样式: index.vue: <template> <svg :class="svgClass" aria-hidden="tru 阅读全文
posted @ 2021-06-15 15:30 小蘑菇123 阅读(540) 评论(0) 推荐(0) 编辑
摘要: 报错如下: 解决办法: 根目录新建 .eslintignore 文件: *.vue *.js 阅读全文
posted @ 2021-06-15 11:09 小蘑菇123 阅读(1072) 评论(0) 推荐(0) 编辑
摘要: 1、安装 vue-fontawesome: npm i --save @fortawesome/vue-fontawesome@prerelease npm i --save @fortawesome/fontawesome-svg-core npm i --save @fortawesome/fr 阅读全文
posted @ 2021-06-15 10:07 小蘑菇123 阅读(1096) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(5182) 评论(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 阅读(5126) 评论(0) 推荐(0) 编辑
摘要: 1、setup 中,定义数组: const tableDataList = reactive([]); forEach 循环报错, 2、解决办法: const tableDataList = reactive([]); 修改为:const tableDataList = reactive({list 阅读全文
posted @ 2021-05-26 09:58 小蘑菇123 阅读(4612) 评论(0) 推荐(1) 编辑
摘要: 错误信息如下: 引入404页面: import NotFound from '@/views/404'; 引用路由(重定向): { path: '/404', name: '404', component: NotFound }, { path: '/:pathMatch(.*)', redirec 阅读全文
posted @ 2021-05-14 15:01 小蘑菇123 阅读(1024) 评论(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 阅读(239) 评论(2) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 20 下一页