上一页 1 2 3 4 5 6 7 8 ··· 20 下一页
摘要: .replace(/^data:image\/\w+;base64,/, "") 适用于:.jpg,.jpeg,.png,.JPG,.JPEG 阅读全文
posted @ 2021-04-27 16:22 小蘑菇123 阅读(1842) 评论(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 阅读(1636) 评论(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 阅读(1669) 评论(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 阅读(529) 评论(0) 推荐(0) 编辑
摘要: 在 scirpt引入: import { defineComponent, onBeforeMount, onMounted, onBeforeUpdate, onUpdated, onBeforeUnmount, onUnmounted, onErrorCaptured, ref, reactiv 阅读全文
posted @ 2021-04-15 14:48 小蘑菇123 阅读(601) 评论(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 阅读(1061) 评论(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 阅读(2324) 评论(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 阅读(7869) 评论(0) 推荐(0) 编辑
摘要: 例如: <div class="el-menu-demo"> <el-menu :default-active="$route.path" class="el-menus" mode="horizontal" @select="handleSelect" :router="true"> <el-me 阅读全文
posted @ 2021-04-08 17:52 小蘑菇123 阅读(1281) 评论(0) 推荐(0) 编辑
摘要: 1、npm安装: npm install --save @fullcalendar/vue @fullcalendar/core @fullcalendar/daygrid 2、import 引入组件: import FullCalendar from "@fullcalendar/vue"; im 阅读全文
posted @ 2021-04-06 09:48 小蘑菇123 阅读(7706) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 20 下一页