会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
letleon
博客园
首页
新随笔
联系
管理
上一页
1
2
3
4
5
6
7
下一页
2021年3月22日
js switch 变量重名报错的解决方法
摘要: switch(value){ case 'test':{ const VarName = 'test' break } case 'test2':{ const VarName = 'test2' break } } MDN: switch 语句内的块级作用域
阅读全文
posted @ 2021-03-22 17:21 letleon
阅读(58)
评论(0)
推荐(0)
编辑
2021年2月17日
为Switch自配SDFiles(大气层)
摘要: 最新方法 自己制作Switch大气层SDFile - letleon - 博客园 (cnblogs.com) 手动配置出Switch所需的SDFiles(大气层) 误点了升级...折腾记录 获取最新大气层https://github.com/Atmosphere-NX/Atmosphere/rele
阅读全文
posted @ 2021-02-17 18:17 letleon
阅读(1447)
评论(0)
推荐(0)
编辑
2021年1月29日
解决flex布局的space-evenly兼容性问题
摘要: .container{ display: flex; flex-flow: row nowrap; align-items: center; justify-content: space-between; //justify-content: space-evenly; } .container::
阅读全文
posted @ 2021-01-29 23:06 letleon
阅读(193)
评论(0)
推荐(0)
编辑
2020年12月16日
Edge浏览器 Alt+Tab 多任务时 合并窗口
摘要: 设置-系统-多任务处理-Alt+Tab 出自 2楼 瀪滺:edge 怎么不让他在 alt + tab 上显示
阅读全文
posted @ 2020-12-16 14:54 letleon
阅读(13069)
评论(0)
推荐(1)
编辑
小程序ArrayBuffer转JSON
摘要: 1 let arrayBuffer = fsm.readFileSync(res.tempFilePath) 2 let unit8Arr = new Uint8Array(arrayBuffer) 3 let encodedString = String.fromCharCode.apply(nu
阅读全文
posted @ 2020-12-16 11:59 letleon
阅读(1987)
评论(0)
推荐(0)
编辑
2020年12月13日
梅林路由修改hosts
摘要: 安装 shellinabox 账号秘密为路由后台账号密码 创建配置文件 vi /jffs/dnsmasq.conf.add 内容:addn-hosts=/jffs/configs/hosts 创建 hosts 文件 /jffs/configs/hosts 内容:你需要设置的hosts 重启 dns
阅读全文
posted @ 2020-12-13 17:04 letleon
阅读(3675)
评论(0)
推荐(0)
编辑
2020年12月8日
小程序半屏弹窗(Half Screen Dialog)插槽(Slot)无效的解决方法
摘要: <mp-half-screen-dialog bindbuttontap="buttontap" show="{{RaterPanel}}" maskClosable="{{false}}" title="测试标题B" //只有删除title后slot才会生效 subTitle="测试标题B的副标题
阅读全文
posted @ 2020-12-08 22:17 letleon
阅读(1759)
评论(1)
推荐(0)
编辑
2020年10月25日
[小程序]存在将未绑定在 WXML 的变量传入 setData 的解决方法!
摘要: 1 Page({ 2 data: { 3 TestData: '0' 4 }, 5 6 TestData: '1', 7 8 onLoad () { 9 console.log(this.data.TestData) 10 console.log(this.TestData) 11 12 this.
阅读全文
posted @ 2020-10-25 15:12 letleon
阅读(704)
评论(0)
推荐(0)
编辑
2020年10月11日
小程序scroll-view指定高度
摘要: .scroll-height{ height: 80vh; } 给 scroll-view 加个class,高度为80vh(页面高度的80%)
阅读全文
posted @ 2020-10-11 12:46 letleon
阅读(809)
评论(0)
推荐(0)
编辑
修改小程序mp-halfScreenDialog组件高度
摘要: /* 修改dialog 高度75% 为 80% */ .weui-half-screen-dialog { max-height: 80% !important; } 值得注意的是,哪个页面显示Dialog组件,就把样式放到哪个页面的wxss内!
阅读全文
posted @ 2020-10-11 12:43 letleon
阅读(1837)
评论(1)
推荐(0)
编辑
上一页
1
2
3
4
5
6
7
下一页
公告