摘要:
JavaScript switch优化if逻辑 switch(day) { case 1: case 2: case 3: case 4: case 5: console.log('工作日') break case 6: case 7: console.log('周末') break default 阅读全文
posted @ 2024-04-03 15:39
sineava
阅读(42)
评论(0)
推荐(0)
摘要:
Git 无法连接到github # 错误代码 Failed to connect to github.com port 443 $ git config --global http.proxy socks5 127.0.0.1:(代理端口) $ git config --global https.p 阅读全文
posted @ 2024-04-03 15:38
sineava
阅读(39)
评论(0)
推荐(0)
摘要:
基础 地图初始化 const viewer = new Viewer(mapRef.value, { animation: false, // 时间动画控件 timeline: false, // 时间轴 selectionIndicator: false, infoBox: false, base 阅读全文
posted @ 2024-04-03 15:37
sineava
阅读(91)
评论(0)
推荐(0)
摘要:
dart语法 list // 创建指定长度list List.generate(6, (index) => CircleButton(index: index)); 基础 视图结构 StatelessWidget与StatefulWidget区别 StatelessWidget: 无状态的widge 阅读全文
posted @ 2024-04-03 15:21
sineava
阅读(24)
评论(0)
推荐(0)
摘要:
基础 风格指南 结构风格 vue推荐: 先声明,后使用 <script setup></script> <template></template> <style scoped></style> 子组件命名 <!-- 在单文件组件中,推荐为子组件使用PascalCase的标签名,以此来和原生的 HTM 阅读全文
posted @ 2024-04-03 15:19
sineava
阅读(38)
评论(0)
推荐(0)
摘要:
小程序框架 目录结构 |- card index.js // 页面逻辑(必需) index.wxml // 页面结构(必需) index.json // 页面配置 index.wxss // 页面样式表 |- utils // 工具函数 app.js // 小程序逻辑(必需) app.json // 阅读全文
posted @ 2024-04-03 15:17
sineava
阅读(72)
评论(0)
推荐(0)

浙公网安备 33010602011771号