【零散整理】

1-1 git查看代码的项目总行数

git log --pretty=tformat: --numstat | awk ‘{ add += $1; subs += $2; loc += $1 - $2 } END { printf “added lines: %s, removed lines: %s, total lines: %s\n”, add, subs, loc }’ -

1-2 cookie

 const cookies = document.cookie.split('; ')
    for (let i = 0; i < cookies.length; i++) {
    
    
      if (cookies[i].split('=')[0] === 'username') {
    
    
        this.ruleForm.creator = cookies[i].split('=')[1]
      }
    }

1-3 【vue】实现多个路由共享同一个页面

https://blog.csdn.net/coralime/article/details/115263427

1-4 vue路由传参当刷新页面时,参数变成“[object Object]”

https://blog.csdn.net/weixin_45811256/article/details/128039051

1-5 前端Vue项目打包性能优化方案

https://blog.csdn.net/m0_51637686/article/details/117514718

1-6 el-date-picker 的type=“datetime” 会被默认赋值

https://blog.csdn.net/weixin_34397291/article/details/88767752
https://blog.csdn.net/weixin_49668076/article/details/127303107

element–el-input限制输入为数字且必须大于0

https://blog.csdn.net/Schaffer_W/article/details/128833801

element-ui的el-select如何不显示value,显示value对应的label值

https://segmentfault.com/a/1190000016737140?utm_source=sf-similar-article

1-1

element ui el-time-picker赋值(HH:ss)后界面不显示

JS使用try,catch判断解析的情况

https://blog.csdn.net/weixin_44029226/article/details/124606509

猜你喜欢

转载自blog.csdn.net/hannah2233/article/details/129442672
今日推荐