上一页 1 2 3 4 5 6 7 ··· 9 下一页
摘要: 一、要在VSCode中创建一个Dart项目,请按照以下步骤操作: 打开VSCode,并确保已安装Dart和Flutter插件。可以在扩展面板中搜索并安装这些插件。 在菜单栏中选择"View" -> "Command Palette",或使用快捷键Ctrl + Shift + P,打开命令面板。 在命 阅读全文
posted @ 2024-01-12 10:49 pearlcity 阅读(53) 评论(0) 推荐(0)
摘要: 一、Cron是一个用于在特定时间间隔内定期执行任务的工具。下面是使用cron的详细步骤: 打开终端或命令行界面。 输入以下命令来编辑cron表: crontab -e 如果是第一次编辑cron表,系统会要求选择一个文本编辑器。选择你喜欢的编辑器后,会打开一个空的cron表文件。 在cron表中,每一 阅读全文
posted @ 2024-01-04 11:47 pearlcity 阅读(28) 评论(0) 推荐(0)
摘要: 注册数据库控制器最后,您需要将数据库控制器注册到应用程序中: import 'controller/user_controller.dart'; class YourAppChannel extends ApplicationChannel { ManagedContext context; @ov 阅读全文
posted @ 2023-12-25 11:00 pearlcity 阅读(30) 评论(0) 推荐(0)
摘要: 问题: List lock = [ {'key': "id", 'title': 'ID', 'width': 'int(98 * width / 1920)', 'overflow': false}, {'key': "location", 'title': '门锁名称', 'width': 'i 阅读全文
posted @ 2023-12-19 13:18 pearlcity 阅读(19) 评论(0) 推荐(0)
摘要: 定义表注释读取使用 users = await User.all().values() field_map = {field.model_field_name: field.description for field in User._meta.fields_map.values()} result 阅读全文
posted @ 2023-12-01 20:42 pearlcity 阅读(39) 评论(0) 推荐(0)
摘要: usero = toobj({'name': 'sam', 'id': 123})print(json.dumps(usero))obj = 'Company'Class_name = globals()[obj]companyo = await Class_name.filter(id=2).fi 阅读全文
posted @ 2023-11-13 17:42 pearlcity 阅读(2395) 评论(0) 推荐(0)
摘要: 1、不带密码芯片 2、带密码芯片 3、合作方芯片接口定义 阅读全文
posted @ 2023-08-07 12:32 pearlcity 阅读(20) 评论(0) 推荐(0)
摘要: For configuration menu type "menu" For poweroff type "sudo poweroff" For reboot type "sudo reboot" For http://ip:5001 | 8088(hqplayer) | 19999 |文件共享:a 阅读全文
posted @ 2023-06-14 19:09 pearlcity 阅读(813) 评论(0) 推荐(0)
摘要: flutter项目迁移 flutter页面之间传值 调用代码: Navigator.push(context, new MaterialPageRoute(builder: (BuildContext context) { return GatewayPage(type: TTGatewayType 阅读全文
posted @ 2023-03-19 14:46 pearlcity 阅读(65) 评论(0) 推荐(0)
摘要: 参考教程:https://blog.csdn.net/qq_40976321/article/details/121806555一、安装flutter(版本:3.7.7)到目录 tools 下面;1、window的用户直接将下面的添加到环境变量中 PUB_HOSTED_URL=https://pub 阅读全文
posted @ 2023-03-13 00:24 pearlcity 阅读(9736) 评论(0) 推荐(1)
上一页 1 2 3 4 5 6 7 ··· 9 下一页