摘要:
show 变量是控制弹出层的显示与否 阅读全文
摘要:
var reg = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a- 阅读全文
摘要:
(function() { var useragent = navigator.userAgent; if (useragent.match(/MicroMessenger/i) != "MicroMessenger") { // window.location.href = "wxError.ht 阅读全文
摘要:
let newArr = JSON.parse(JSON.stringify(arr)) 阅读全文
摘要:
<template> <div> <label> 上传图片: <input type="file" id="file" accept="image/jpg, image/jpeg, image/png, image/svg, image/gif" > <br> <br> <button @click 阅读全文
摘要:
<style> #progress_bar { margin: 10px 0; padding: 3px; border: 1px solid #000; font-size: 14px; clear: both; opacity: 0; -moz-transition: opacity 1s li 阅读全文
摘要:
向后台请求文件 返回的是这种文件流 如何下载 首先在axios.post的请求中把默认的 " responseType:‘json’ " 改为" responseType:‘blob’ 然后 let blob = new Blob([res.data], {type: "application/vn 阅读全文
摘要:
timestampToTime(timestamp) { var date = new Date(timestamp); var Y = date.getFullYear() + '-'; var M = (date.getMonth()+1 < 10 ? '0'+(date.getMonth()+ 阅读全文
摘要:
obj1 = { "authList": [ ], "enabled": 1, "id": "b3bae8fcde0d4a50b7fbcbbccf4fe216", "lastLogin": 1564363725773, "lastLoginStr": "2019-07-29", "namePinyi 阅读全文
摘要:
如: var a = [1,2,3,4]; var b= []; b = a; var b = [].concat(a); 阅读全文