会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
want_Success
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
9
下一页
2020年12月3日
Javascript之递归求裴波那契数
摘要: 一、遍历的方式性能更加,递归的方式代码利于阅读、简短,性能略差 二、裴波那契数定义: · 位置0的裴波那契数为0 · 1和2的裴波那契数为1 · n(n > 2)裴波那契数为 (n-1)的裴波那契数 + (n-2)裴波那契数 三、遍历的方式 fibonacciIterative (n) { if (
阅读全文
posted @ 2020-12-03 00:17 C+V-Engineer
阅读(162)
评论(0)
推荐(0)
2020年12月1日
Vue+webpack配置实现多页面应用开发
摘要: 为什么要配置多页面开发? · 由于单页面应用不利于SEO,对于某些资讯类网站不够友好,而多页面则能够更优的解决此问题。 · 传统的多页面开发模式(如java的jsp等) 前后端耦合性大,开发效率低,代码复用率小。 · 本文介绍通过目前流行的如React、Vue等前端框架结合webpack来进行多页面
阅读全文
posted @ 2020-12-01 22:52 C+V-Engineer
阅读(397)
评论(0)
推荐(0)
JavaScript之递归查找所有父节点
摘要: ......data: () => ({ // 数据 dt: [{ id: '1', children: [ { id: '1-1', children: [ { id: '1-1-1', children: [] } ] }, { id: '1-2', children: [ { id: '1-2
阅读全文
posted @ 2020-12-01 00:38 C+V-Engineer
阅读(2330)
评论(0)
推荐(0)
2020年8月29日
CSS之创意hover效果
摘要: 一.发送效果 HTML <div id="send-btn"> <button> // 这里是一个svg的占位 Send </button> </div> CSS #send-btn{ display: flex; align-items: center; justify-content: cent
阅读全文
posted @ 2020-08-29 00:34 C+V-Engineer
阅读(319)
评论(1)
推荐(0)
2020年3月15日
React之react-router(connected-react-router/react-router-dom)
摘要: 文档: react-router-dom官方文档:https://reacttraining.com/react-router/web/guides/quick-start connected-react-router文档(GitHub):https://github.com/supasate/co
阅读全文
posted @ 2020-03-15 21:42 C+V-Engineer
阅读(336)
评论(0)
推荐(0)
2020年3月7日
React之redux学习日志(redux/react-redux/redux-saga)
摘要: redux官方中文文档:https://www.redux.org.cn/docs/introduction/CoreConcepts.html react-redux Dome:https://codesandbox.io/s/react-redux-e1el3(需FQ才能访问) 1. Redux
阅读全文
posted @ 2020-03-07 23:14 C+V-Engineer
阅读(399)
评论(0)
推荐(0)
React之常用技术栈
摘要: · react-redux:https://www.cnblogs.com/jingxuan-li/p/12439181.html · react-router-dom:https://www.cnblogs.com/jingxuan-li/p/12500266.html
阅读全文
posted @ 2020-03-07 23:13 C+V-Engineer
阅读(628)
评论(0)
推荐(0)
2020年2月22日
js书写规范
摘要: 参考文献:https://github.com/airbnb/javascript 1. 使用 const 与 let 代替 var (const / let) 1.1、常量使用 const 定义,避免使用 var 定义:这样可以确保无法重新分配,这可能导致错误并难以理解代码。 // bad var
阅读全文
posted @ 2020-02-22 01:13 C+V-Engineer
阅读(538)
评论(0)
推荐(0)
2019年12月1日
Git之常用命令
摘要: 廖雪峰文档:https://www.liaoxuefeng.com/wiki/896043488029600/900004111093344查看工作区 查看工作区文件状态:git status 添加/撤销 文件: git add . :添加工作区所有变动文件到暂存区 git add 文件1:添加指定
阅读全文
posted @ 2019-12-01 00:57 C+V-Engineer
阅读(232)
评论(0)
推荐(0)
2019年11月17日
ES6之async与await
摘要: · async - await 是 Promise 和 Generator 的语法糖,目的只是为了让我们书写代码时更加流畅,增强代码的可读性。 · async - await 是建立在Promise机制之上的,并不能取代其地位 基本语法: async: async用来表示函数是异步的,定义的函数会返
阅读全文
posted @ 2019-11-17 04:15 C+V-Engineer
阅读(330)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
9
下一页
公告