- 博客(9)
- 收藏
- 关注
原创 创建React项目报错:npm install --no-audit --save @testing-library/jest-dom@^5.14.1
React 安装,npm 报错
2023-08-06 13:11:23
776
原创 element 2.X 最新离线文档, 内网开发
自提,取自gitee@gaoyulei0212温文尔雅考个文档都要积分,不如传一个http://链接:https://pan.baidu.com/s/1yWJ6CnQQmbIm_sbgFf-w2g 提取码:1212
2022-04-21 09:11:30
290
2
原创 转,高度汇总
offsetWidth //返回元素的宽度(包括元素宽度、内边距和边框,不包括外边距)offsetHeight //返回元素的高度(包括元素高度、内边距和边框,不包括外边距)clientWidth //返回元素的宽度(包括元素宽度、内边距,不包括边框和外边距)clientHeight //返回元素的高度(包括元素高度、内边距,不包括边框和外边距)style.width //返回元素的宽度(包括元素宽度,不包括内边距、边框和外边.
2022-02-13 19:50:53
89
原创 计算 时间差值, => 小时转化成秒数
今天做的一个日程表,数据需要根据时间来显示位置,因为位置需要精确到分钟,只能转成秒数再计算,只给传了 beginTIme,endTime, 整成小甘薯直接用Ep:beginTime:'10:00', endTime:'11:30';差值 90 min;<input type="text" v-model="value1"> <input type="text" v-model="value2"> <button @click="
2022-02-11 22:25:47
726
原创 结合 el-upload 实现图片上传,预览.
<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css"><style> .avatar-uploader .el-upload { border: 1px dashed #d9d9d9; border-radius: 6px; cursor: pointer; position: relative; overflow: hi.
2022-01-06 23:09:31
826
原创 React swiper 及轮播实现
import Swiper from "swiper"import "swiper/swiper-bundle.css"import { Component } from "react";import SwiperCore, { Autoplay } from 'swiper';SwiperCore.use([Autoplay]);class Lbt extends Component{ state ={} componentDidMount(){ new ..
2021-07-16 10:15:02
413
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人