摘要: 1.首先用到<el-upload>这个组件,来上传身份证 2.添加保存,取消按钮 <ul> <li> <span class="info-spand info-left">身份证(人面像):</span> <el-upload class="avatar-uploader" :action="adm 阅读全文
posted @ 2020-07-29 16:00 AllenLau 阅读(1566) 评论(0) 推荐(0) 编辑
摘要: 点击图片,弹出预览弹窗,显示图片 首页定义data: 1.data() { return { imgs: "", imgsVisible: false //默认弹窗属性是隐藏的 } } 2.<el-dialog title="图片查看" :visible.sync="imgsVisible" wid 阅读全文
posted @ 2020-07-29 15:50 AllenLau 阅读(40032) 评论(0) 推荐(0) 编辑
摘要: 首先安装: npm install swiper vue-awesome-swiper --save # or yarn add swiper vue-awesome-swiper 第二步: import Vue from 'vue' import VueAwesomeSwiper from 'vu 阅读全文
posted @ 2020-04-20 10:55 AllenLau 阅读(891) 评论(0) 推荐(0) 编辑
摘要: 首先到node.js官网 下载安装对应的node版本 安装好node后 对应的npm 包管理也安装好 安装好node后 查看对应的版本: node -v npm -v 接下来 安装 vue/cli npm install -g @vue/cli 全局安装vuecli 脚手架 顺便可以把 yarn 也 阅读全文
posted @ 2020-02-06 14:44 AllenLau 阅读(905) 评论(0) 推荐(0) 编辑