会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
dou_fu_gan
博客园
首页
新随笔
联系
订阅
管理
2023年3月11日
前端面试基础cheatsheet
摘要: 1.继承 2.判断数组 console.log(Array.isArray(arr)); //true console.log(arr instanceof Array); //true console.log(arr.constructor Array); //true console.log(A
阅读全文
posted @ 2023-03-11 08:39 dou_fu_gan
阅读(40)
评论(0)
推荐(0)
2023年3月4日
0-1背包代码速记
摘要: 记忆化搜索 动态规划 动态规划优化 回溯 背包子集树 排列树(该实例非背包问题) 数独程序的回溯实现
阅读全文
posted @ 2023-03-04 21:51 dou_fu_gan
阅读(27)
评论(0)
推荐(0)
2023年2月25日
科技风实现效果展示
摘要: 
阅读全文
posted @ 2023-02-25 17:17 dou_fu_gan
阅读(19)
评论(0)
推荐(0)
2023年2月23日
threejs shader特效,分区辉光
摘要: 分区辉光有两种实现方式: 1.单个图层两次渲染,先用带bloom的composer渲染一次,再正常渲染一次:https://github.com/mrdoob/three.js/blob/master/examples/webgl_postprocessing_unreal_bloom_select
阅读全文
posted @ 2023-02-23 22:18 dou_fu_gan
阅读(365)
评论(0)
推荐(0)
2023年2月15日
vue 父子组件加载顺序(生命周期钩子)
摘要: 父组件的实例化过程(包括父组件的beforeCreate和created钩子函数) 父组件的模板编译和渲染过程 子组件的实例化过程(包括子组件的beforeCreate和created钩子函数) 子组件的模板编译和渲染过程(包括子组件的beforeMount和mounted钩子函数) 父组件的模板编
阅读全文
posted @ 2023-02-15 03:24 dou_fu_gan
阅读(230)
评论(0)
推荐(0)
2023年2月14日
负负得正
摘要: lastname是姓,外国人姓在后,这个中国人是相反的 外国人姓多名少,和中国人相反 负负得正,外国人前面的少,后面的多
阅读全文
posted @ 2023-02-14 23:38 dou_fu_gan
阅读(65)
评论(0)
推荐(0)
2023年2月13日
windows 软链接怎么用?
摘要: mklink /d d:\develop \\138.20.1.141\e$\develop
阅读全文
posted @ 2023-02-13 19:01 dou_fu_gan
阅读(29)
评论(0)
推荐(0)
2023年2月11日
vue2 data 一定要是函数吗?
摘要: 答:不一定,可以是对象,vue文档中表述有误导性而已,他自己的例子里也有对象的形式 function initData(vm){ let data = vm.$options.data data = vm._data = typeof data ‘function’ ? getData(data,
阅读全文
posted @ 2023-02-11 19:24 dou_fu_gan
阅读(42)
评论(0)
推荐(0)
记一次失败的StackOverflow回答
摘要: 有一位同学在StackOverflow上提问,他想创建一个 Future 类,异步的实现 Future 的构造,当构造完成之后自动调用 .then 方法,执行后面的逻辑 class Features { features = null constructor(){ fetchFeatures() }
阅读全文
posted @ 2023-02-11 19:15 dou_fu_gan
阅读(312)
评论(1)
推荐(3)
2023年2月4日
后端路由的功能
摘要: 后端路由 处理不同的url 处理不同的http方法 解析url中的参数
阅读全文
posted @ 2023-02-04 18:37 dou_fu_gan
阅读(70)
评论(0)
推荐(0)
下一页
公告