- 博客(15)
- 收藏
- 关注
原创 vue2 + swiper 踩坑记 effect等参数无效
vue2使用swiper需要安装vue-awesome-swiper,然后坑来了使用最新4.版本的vue-awesome-swiper,effect等参数无效解决: 降级到3.1.3注意: 4.版本引入swiper, swiperSlide是大写 3.1.3是小写4.版本获取实例this.refs.mySwiper.swiperInstance3.版本获取实例this.refs.mySwiper.swiperInstance 3.版本获取实例this.refs.mySwiper.swiperI
2021-10-11 17:01:26
1629
原创 Error: pg_config executable not found
原因postgresql 插件缺失yum install postgresql-devel*解决
2021-09-28 12:00:48
448
原创 No matching distribution found for jupyter-client==7.0.2
python版本太低python版本3.6.0安装过程大量No matching distribution found例如:No matching distribution found for jupyter-client==7.0.2这些都需要3.6.1+更新python版本解决
2021-09-28 11:14:42
1566
原创 pyenv: no such command `virtualenv‘
Liunx:git clone https://github.com/pyenv/pyenv-virtualenv.git $(pyenv root)/plugins/pyenv-virtualenvMacOsbrew install pyenv-virtualenv
2021-09-28 10:41:26
1664
原创 edge 接口调用时 net::ERR_CERT_AUTHORITY_INVALID
问题提示:您的连接不是私密连接f12 打开开发者工具报错位置点击蓝色链接转到失败链接 双击失败链接点击继续访问
2021-09-22 10:13:02
1175
原创 vue router 动态路由清除
重置matcher可达到路由还原效果在用户退出时调用 resetRouter(router) 即可还原路由import Vue from 'vue'import Router from 'vue-router'import { constantRouterMap } from '...' //导入初始化router// 传入当前routerexport function resetRouter (router) { const createRouter = () =>
2021-09-07 16:16:07
5056
3
原创 vue TypeError: Cannot read property ‘value‘ of null
环境乱了, 删除node_modulesyarn cache clean -f yarnyarn run serve 解决
2021-09-06 10:22:21
498
原创 多行文本溢出显示省略号(兼容ie)
需求: ie下多行文本超出隐藏显示省略号解决方案:float布局代码:html:<div class="fix-height"> <div class="text">这段文字很长这段文字很长这段文字很长这段文字很长这段文字很长这段文字很 长这段文字很长这段文字很长这段文字很长这段文字很长这段文字很长</div></div>css: .height-fixed { height: ..
2021-08-25 11:15:58
2203
原创 windows使用virtualenv
安装virtualenvpip install virtualenv创建虚拟空间virtualenv new_name如果系统有多个python版本可指定python版本virtualenv drf_ts_forum --python=python3.6.0#virtualenv env_name --python=python版本号启用cd env_anme\Script #进入虚拟环境下script文件夹activate #启动虚拟环境de...
2021-07-18 19:25:54
147
原创 pip install ValueError: check_hostname requires server_hostname pip下载慢切换国内源
pip install ValueError: check_hostname requires server_hostname开了vpn导致的,关闭vpn即可pip 切换国内源https://blog.youkuaiyun.com/sinat_21591675/article/details/82770360
2021-07-13 12:01:36
286
原创 echarts 轴坐标数据过长使用省略号 鼠标悬浮显示数据
简介:工作中遇到y轴数据过长,label倾斜方式并不能解决问题,于是限制label长度使用省略号,添加y轴事件戍边悬浮完整显示label。vue + echarts5.1.11.轴坐标label格式化使用 yAxis.axisLabel.formatteryAxis: { type: 'category', data: this.yAxisData, axisLabel: { formatter: function(value) { var texts.
2021-05-24 14:56:46
3296
翻译 了解tsconfig文件中的esModuleInterop
https://stackoverflow.com/questions/56238356/understanding-esmoduleinterop-in-tsconfig-file
2021-01-20 13:06:20
869
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人