09 2022 档案

摘要:一、增删查改 user = {"id": 2, "mobile": "2313", "name": "2313"} company = {"id": 2, "name": "2313", "creator_id": 2313} match = {'id': 6} values = {'iint': 阅读全文
posted @ 2022-09-30 20:15 pearlcity 阅读(113) 评论(0) 推荐(0) 编辑
摘要:0、ObjectId 不能直接return前端,需要2次包裹 一、repl包裹 二、dict包裹 return {'msg': repr(docs)} return {'code': 1, 'msg': '查询成功', 'data': {'auth_list': repr(result)}} 聚合( 阅读全文
posted @ 2022-09-22 14:52 pearlcity 阅读(50) 评论(0) 推荐(0) 编辑
摘要:vxe-table 表格 tooltip 被弹出框遮挡,z-index 层级过低,解决方案 import VXETable from 'vxe-table' // 全局默认参数 VXETable.setup({ version: 0, zIndex: 999, // 想多高就设置多高 table: 阅读全文
posted @ 2022-09-17 23:22 pearlcity 阅读(609) 评论(0) 推荐(0) 编辑
摘要:配置 frp 实现内网穿透 frp 中文文档:https://github.com/fatedier/frp/blob/master/README_zh.md 一、frp 的作用 利用处于内网或防火墙后的机器,对外网环境提供 http 或 https 服务。 对于 http, https 服务支持基 阅读全文
posted @ 2022-09-08 15:14 pearlcity 阅读(1408) 评论(0) 推荐(0) 编辑
摘要:定义数据结构 class LockItem(BaseModel): id: int location: str is_userassignable: bool class LocksetItem(BaseModel): id: int name: str locks: List[LockItem] 阅读全文
posted @ 2022-09-01 09:36 pearlcity 阅读(26) 评论(0) 推荐(0) 编辑