会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
问问大将军
博客园
首页
新随笔
联系
管理
订阅
1
2
3
4
5
6
下一页
[置顶]
es6基础Array扩展(map,reduce,filter,forEach)
摘要: map 映射 reduce 求平均数 filter 过滤 forEach 遍历 async/await 如果对小哥哥小姐姐有帮助请点个推荐哈,欢迎留言、评论、搞事!! 双肩背包 【正品折扣专业店】 -- biy1314.taobao.com
阅读全文
posted @ 2019-07-06 20:26 问问大将军
阅读(495)
评论(0)
推荐(0)
2024年1月22日
uniapp web-view h5中左滑会退出app解决办法,超简单
摘要: 只需要在app中有web-view组件的页面,onload中加入一下代码即可 支持vue2,vue3 const webview = plus.webview.currentWebview(); //获取窗口 // eslint-disable-next-line no-undef plus.key
阅读全文
posted @ 2024-01-22 11:16 问问大将军
阅读(1097)
评论(0)
推荐(0)
2021年9月11日
vscode 自动格式化 JavaScript
摘要: 自动格式化插件 Prettier-Code formatter Vetur Eslint 首选项》设置》 { // vscode默认启用了根据文件类型自动设置tabsize的选项 "editor.detectIndentation": false, // 重新设定tabsize "editor.ta
阅读全文
posted @ 2021-09-11 23:04 问问大将军
阅读(1909)
评论(0)
推荐(0)
2021年8月6日
手写简单路由Router hash和history两种实现
摘要: Router-hash实现
阅读全文
posted @ 2021-08-06 17:57 问问大将军
阅读(161)
评论(0)
推荐(0)
2021年6月21日
node实时聊天工具简单实现
摘要: node实时聊天工具简单实现 搭建node 服务并且启动。 nodemon 启动 socket.js。 新开运行窗口,通过 telnet localhost 9000启动新对话框,先输出Hi n,然后输入内容点击回车,老窗口会收到新窗口发送的内容。还可以继续新开对话框,都可以监听得到。excelle
阅读全文
posted @ 2021-06-21 14:30 问问大将军
阅读(168)
评论(0)
推荐(0)
Mac电脑brew老安装失败终极解决办法
摘要: ##Mac电脑brew老安装失败终极解决办法 找了好几天,终于找到解决办法了,难受 — [https://discourse.brew.sh/t/i-have-problem-with-installation-please-help-me/2906/6] git clone https://git
阅读全文
posted @ 2021-06-21 14:29 问问大将军
阅读(343)
评论(0)
推荐(0)
nodeJS基础操作
摘要: nodeJS基础操作 读取内存占用率 第三方插件使用方法(git下载插件、loading插件) Promise使用方法(在第2条中有使用) 同步、异步调用文件 启动一个3000端口的本地服务 页面读取、未找到路由404页面、接口调用返回json、steam流处理图片css等(都在第5条里面实现了)
阅读全文
posted @ 2021-06-21 14:27 问问大将军
阅读(73)
评论(0)
推荐(0)
2021年6月18日
基础面试算法笔记
摘要: 大厂面试题: https://www.cnblogs.com/hanxuming/p/10642074.html https://www.cnblogs.com/sexintercourse/p/12418512.html https://juejin.im/post/686439806070276
阅读全文
posted @ 2021-06-18 16:18 问问大将军
阅读(37)
评论(0)
推荐(0)
2021年3月5日
uniapp长列表虚拟加载实例(前端处理上万条数据加载优化,不卡,纯手敲)
摘要: //temple部分 <template> <!-- 本页面是虚拟加载组件,还有个长列表懒加载组件(sickListPageLoad.vue)。 --> <view class="sickBody"> <scroll-view scroll-y="true" class="scroll-Y" @sc
阅读全文
posted @ 2021-03-05 11:08 问问大将军
阅读(6341)
评论(4)
推荐(1)
2021年1月25日
js将秒转换为00:00:00时间格式
摘要: format(seconds) { let hour = Math.floor(seconds / 3600) >= 10 ? Math.floor(seconds / 3600) : '0' + Math.floor(seconds / 3600); seconds -= 3600 * hour;
阅读全文
posted @ 2021-01-25 11:37 问问大将军
阅读(1325)
评论(0)
推荐(0)
2021年1月13日
js检测数据类型完美兼容所有数据类型
摘要: let a = ""//undefined/null/new Function/new Object/{}/new Date()/"" console.log("33",Object.prototype.toString.call(a)) console.log(Object.prototype.t
阅读全文
posted @ 2021-01-13 15:45 问问大将军
阅读(120)
评论(0)
推荐(0)
1
2
3
4
5
6
下一页
公告