- 博客(4)
- 收藏
- 关注
原创 IE 不兼容 justify-content:space-evenly 的解决办法
使用 space-between 代替,并在前后用伪元素占位置 .xxxxxx { display: flex; /* justify-content: space-evenly; */ justify-content: space-between; &:before, &:after { content: ""; display: block; } }...
2021-08-23 13:40:13 1578
原创 父级项目嵌套子级项目使用 postMessage 传值
使用postMessage传值情景:在父项目使用 iframe标签 嵌套子项目时,通常在url上传token等参数,可使用window.postMessage()代替 url 传参用法 :http://10.10.0.68:8083 是父项目 地址http://localhost:8081 是子项目 地址<!-- 父级项目嵌套子项目的页面 http://10.10.0.68:8083 --><template> <div class="home">
2021-04-23 15:32:07 567
原创 H5 在iOS下的问题
H5 在iOS下的问题ios下 js函数 new Date("2021-04-30") 返回NaN 解决方法:改写成new Date("2021/04/30")
2021-04-12 16:26:39 97
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人