上一页 1 2 3 4 5 6 7 8 9 ··· 21 下一页
摘要: 错误信息如下: 引入404页面: import NotFound from '@/views/404'; 引用路由(重定向): { path: '/404', name: '404', component: NotFound }, { path: '/:pathMatch(.*)', redirec 阅读全文
posted @ 2021-05-14 15:01 小蘑菇123 阅读(1054) 评论(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 阅读(259) 评论(2) 推荐(0)
摘要: .replace(/^data:image\/\w+;base64,/, "") 适用于:.jpg,.jpeg,.png,.JPG,.JPEG 阅读全文
posted @ 2021-04-27 16:22 小蘑菇123 阅读(1994) 评论(0) 推荐(0)
摘要: 假设需要传参的数据,如: let par = { name: this.menu_name, sort: this.sort, hidden: Number(this.exhibition), remark: this.remarks, pic: '', picBase64: '', operato 阅读全文
posted @ 2021-04-23 09:58 小蘑菇123 阅读(1707) 评论(0) 推荐(0)
摘要: 1、script: import { onMounted, getCurrentInstance, ref } from 'vue' 2、setup: const { proxy } = getCurrentInstance();或:const { ctx } = getCurrentInstanc 阅读全文
posted @ 2021-04-16 13:57 小蘑菇123 阅读(1712) 评论(0) 推荐(0)
摘要: 1、template: <template> <div class="error-container"> <div class="error-content"> <el-row :gutter="24"> <el-col :xs="24" :sm="24" :md="12" :lg="12" :xl 阅读全文
posted @ 2021-04-15 15:01 小蘑菇123 阅读(694) 评论(0) 推荐(0)
摘要: 在 scirpt引入: import { defineComponent, onBeforeMount, onMounted, onBeforeUpdate, onUpdated, onBeforeUnmount, onUnmounted, onErrorCaptured, ref, reactiv 阅读全文
posted @ 2021-04-15 14:48 小蘑菇123 阅读(681) 评论(0) 推荐(0)
摘要: 1、template: <el-table :data="state.weather"> <el-table-column prop="id" label="日期" width="180"></el-table-column> <el-table-column prop="username" lab 阅读全文
posted @ 2021-04-14 17:10 小蘑菇123 阅读(1106) 评论(0) 推荐(0)
摘要: vue3.0,可以在ui界面自定义安装: 新建一个空文件夹,cmd运行: vue ui,回车: 创建项目: 至此,带有 ts 的项目创建完成 以下是没有 ts 的项目 1、安装element-plus: main.js: //安装 element-plus npm install element-p 阅读全文
posted @ 2021-04-13 17:47 小蘑菇123 阅读(2420) 评论(0) 推荐(1)
摘要: 官网默认样式: 目标样式: 1、template: <div class="adds_item"> <div class="adds_item_txt">软件图片:</div> <div class="adds_item_info"> <el-upload class="upload-demo" : 阅读全文
posted @ 2021-04-12 15:38 小蘑菇123 阅读(8733) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 21 下一页