- 博客(8)
- 收藏
- 关注
原创 vue、react在xp、win7低版本浏览器上打印pdf报错The string to be decaded is not correctly encoded
解决低版本出现的Blob解码问题
2024-01-16 16:47:08
343
1
原创 JS本地图片转base64
废话不多说,直接上代码<!DOCTYPE html><html><head> <title>本地图片转base64</title></head><body> <input type="file" id="imgfile" method="post" enctype="multipart/form...
2020-03-30 15:26:21
2882
1
原创 vue项目中的model层禁止后面页面滑动
在model弹出层的最外面标签写下@touchmove.prevent 就可以禁止后面的内容滑动<div class= 'model' @touchmove.prevent></div>碰到问题记录一下,如有其它解决方式,望指教...
2020-02-27 15:31:22
360
原创 TypeError: Cannot read property 'children' of undefined 出现这样的报错
TypeError: Cannot read property ‘children’ of undefinedvue项目 element组件忘记加一个给新增加的数据是根据项目类型加载的不一样会显示,使用了v-show 后报错 ‘children’ of undefined 后使用v-if报错解决,因使用v-show还是会加载空数据,返回数据undefined 即可报错自我记录,谨记...
2020-02-18 14:22:40
4315
原创 js修改身份证,手机号码为****的方法
idenCode: res.data.idenCode.substr(0, 9) + “**” + res.data.idenCode.substr(14), substridenCode: res.data.idenCode.substr(0, 9) + "****" + res.data.idenCode.substr(14), replace这里写代码片...
2018-09-13 12:38:27
2100
2
原创 微信小程序使用picker组件 - 省市二级联动
picker wxml代码&lt;view class="section"&gt;&lt;view class="section__title"&gt;二级实例&lt;/view&gt; &lt;picker mode="multiSelector"
2018-09-12 11:14:13
6695
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人