- 博客(47)
- 收藏
- 关注
原创 Download the React DevTools for a better development experience
Download the React DevTools for a better development experience
2022-11-01 19:52:28 740
原创 echart图表(自定义提示框) 鼠标移动到数据展示区自定义展示提示框 天/时/分/秒
// 毫秒数转换为 天 时 分 秒function timeTransition(value) { var time = parseInt(value);// 需要转换的时间秒 var minute = 0;// 分 var hour = 0;// 小时 var day = 0;// 天 if (time > 60) { minute = parseInt(time / 60); theTime = parseInt(time % 60); if .
2022-05-26 11:44:38 1075
原创 vue element 日期选择器 选择今天及之前的日期 或 今天及之后的日期
// 日期选择器限制 ( :picker-options="pickerOptions" )<el-date-picker v-model="withdrawTime" type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd" placeholder="选择日期" :pic...
2022-05-24 14:50:59 1887
原创 uniapp uni.previewImage 点击预览 会出现数据堆叠
原因:uni.previewImage 执行完会触发onShow(这个钩子函数)// html<view class="cu-bar bg-white"> <view class="action"> 图片描述 </view> <view class="action"> <!-- {{imgList.length}}/4 --> </view></view><view class.
2022-05-13 15:57:13 688 1
原创 vue 获取当前日期
day() { var nowDate = new Date(); var date = { year: nowDate.getFullYear(), month: nowDate.getMonth() + 1, day: nowDate.getDate(), } var dayDate = date.year + '-' + (date.month >= 10 ? date.month : '0' + .
2022-05-11 10:34:54 1604
原创 vue+element+vue-router+axios+echarts后台管理系统
clone地址:https://gitee.com/cuijingyui/vue-background-system.git启动命令:npm run serve
2022-05-10 15:13:06 238
原创 uniapp获取当前日期和时间
这里使用的是封装式写法,使用时需要用到import引入1.common/getdateTime.js/** * @param {String} str (y-m-d h:i:s) y:年 m:月 d:日 h:时 i:分 s:秒 */function dateTimeStr(str){ var date = new Date(), year = date.getFullYear(), //年 month = date.getMonth() + 1, //月 day = date.get
2022-05-10 14:52:04 20782 14
原创 vue console.log()打印失效
看个人项目 如果很急 可以先去这里看看 (后续在研究原理)找到 main.js文件// console.log = function() {}; 注释掉希望能帮到你!
2022-05-09 17:44:24 1428
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人