- 博客(8)
- 收藏
- 关注
原创 js 格式化日期 format
function format(date) {let format = “YYYY-MM-DD hh:mm:ss”let year = date.getFullYear();let month = date.getMonth()let day = date.getDay()let hours = date.getHours()let minutes = date.getMinutes()let seconds = date.getSeconds()let config = { YY
2020-05-13 12:43:24 1113
原创 iview后台管理模版
Vue + iview + vuex + axios + less + es6码云地址 https://gitee.com/mcgmkx/iview-admin.git 麻烦给个star哦
2020-02-28 06:27:00 390
原创 iview upload clearFiles 方法无法清除?请点这里!!!
这里是引入了upload组件,给了他一个ref=upload <upload ref="upload-file"></upload> 下面这句是关键 this.$refs.upload-file.$refs.upload.fileList.splice(0); ![在这里插入图片描述](https://img-blog.csdnimg.c...
2019-10-21 13:28:45 4839 3
转载 JS 如何将“在线图片资源代码”转换成“base64”
function getBase64Image(img) {var canvas = document.createElement(“canvas”);canvas.width = img.width;canvas.height = img.height;var ctx = canvas.getContext(“2d”); //获取绘图上下文环境ctx.dra...
2019-08-16 17:12:54 900
转载 微信小程序签到
sign.wxml {{year}}年 {{month}}月 日 一 二 三 四 五 六 \n 已签到 {{item+1}} 已签到 {{date}}...
2019-05-09 13:54:39 1982
原创 iview select拿到多个值
<Select style=“width: 400px;” label-in-value @on-change=“perChange”><Optionv-for=“item in submit.actionList”:value=“item.id”:key=“item.id”:label=“item.description”//选择动作perChange(...
2019-04-24 13:09:05 2096
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人