- 博客(5)
- 收藏
- 关注
原创 配置rem响应式布局
(function(doc, win) { var docEl = doc.documentElement, resizeEvt = "orientationchange" in window ? "orientationchange" : "resize", recalc = function() { if (docEl.clientWidth > 750) { docEl.style.fontSize
2021-03-29 11:36:03
84
原创 css标签样式重置
@charset "utf-8";html{background-color:#fff;color:#000;font-size:12px}body,ul,ol,dl,dd,h1,h2,h3,h4,h5,h6,figure,form,fieldset,legend,input,textarea,button,p,blockquote,th,td,pre,xmp{margin:0;padding:0}body,input,textarea,button,select,pre,xmp,tt,code,kbd
2021-03-29 11:20:01
98
原创 vue push方法重写解决路由错误问题
标题vue push方法重写解决路由错误问题重写路由的push方法 解决,相同路由跳转时,报错 添加,相同路由跳转时,触发watch(仅限string方式传参,形如"view?id=5")const routerPush = Router.prototype.pushRouter.prototype.push = function push(location) { if(typeof(location)=="string"){ var Separator = "&";
2020-11-25 11:03:50
78
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人