摘要: downloadFile (filePath,fileName) { const url = window.URL.createObjectURL(new Blob([filePath], { type: 'application/vnd.ms-excel;charset=UTF-8' })); c 阅读全文
posted @ 2021-10-12 10:18 wyy_wdy 阅读(752) 评论(0) 推荐(0) 编辑
摘要: 1. 阅读全文
posted @ 2021-03-04 15:56 wyy_wdy 阅读(29) 评论(0) 推荐(0) 编辑
摘要: <div class="glass"> <div class="wrapper"> <div class="pour"> <div class="stream"></div> </div> <div class="contents"> <div class="beer"> <div class="b 阅读全文
posted @ 2020-07-21 15:59 wyy_wdy 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 一、安装node环境 1、下载地址为:https://nodejs.org/en/ 2.检查安装是否成功 1) ctrl+r 输入cmd 2) 输入node -v 如果有版本号,就代表安装成功 二、安装npm 1.使用淘宝镜像安装效率会高点(通过cmd入口安装也可以,此处我是在项目里面通过git安装 阅读全文
posted @ 2020-07-08 12:01 wyy_wdy 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 封装的函数在不同页面调用的时候,可能需要传递不同个数的参数,为了避免有些页面不传递参数对公共函数造成报错的问题 调用函数页面1: this.searchData.propertyList = this.exportExcelFeader({colTable: this.colTable, mappi 阅读全文
posted @ 2020-03-20 15:01 wyy_wdy 阅读(395) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <title></title> <meta http-equiv="content-Type" content="text/html; charset=utf-8 " /> <script type="text/javascript" src 阅读全文
posted @ 2018-08-09 14:47 wyy_wdy 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 方法一:$(function(){ var u = navigator.userAgent; var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端 var isiOS = !!u.match(/ 阅读全文
posted @ 2018-07-06 14:22 wyy_wdy 阅读(181) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="zh"><head> <meta charset="UTF-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> <meta http-equiv 阅读全文
posted @ 2018-07-02 14:12 wyy_wdy 阅读(211) 评论(0) 推荐(0) 编辑
摘要: //只调取照相 <input type="file" id='image' accept="image/*" capture='camera' name="file" onchange="fileup(event)" > //调取相册(会把照相的选项也调出来) <input type="file" 阅读全文
posted @ 2018-07-02 11:33 wyy_wdy 阅读(4628) 评论(1) 推荐(0) 编辑