摘要: <div class="yzmInput"> <el-input placeholder="请输入图形验证码" v-model="yzmcode" maxlength="4" @keyup.enter.native="LoginBtn"> <i slot="prefix" class="el-inp 阅读全文
posted @ 2020-12-28 15:04 海里的鱼-L 阅读(118) 评论(0) 推荐(0) 编辑
摘要: import axios from "axios"; import { Message } from "element-ui"; import router from "../router/index"; const NODE_ENV = process.env.NODE_ENV; let http 阅读全文
posted @ 2020-12-28 14:46 海里的鱼-L 阅读(57) 评论(0) 推荐(0) 编辑
摘要: HTML部分 <input @change="uploadPhoto($event)" type="file" class="kyc-passin"> <span style="color: #777A7D">只能上传jpg/png文件,且不超过2MB</span> <div v-show="for 阅读全文
posted @ 2020-12-28 14:27 海里的鱼-L 阅读(648) 评论(0) 推荐(0) 编辑
摘要: let fileName = '****'; downExcel(fileName).then(res => { // 请求下载接口 // 处理返回的文件流 const content = res; const blob = new Blob([content]); const fileName = 阅读全文
posted @ 2020-12-28 14:04 海里的鱼-L 阅读(970) 评论(0) 推荐(0) 编辑