摘要: 第一步 npm install @types/node -D 第二步 这是原 vite.config.ts文件 import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' // https://vitejs.dev 阅读全文
posted @ 2023-12-22 16:32 卫龙吖 阅读(429) 评论(0) 推荐(0)
摘要: pip install ldap3 # 环境安装 from ldap3 import Server, Connection,SUBTREE ldap_host = 'xx.xx.x.x' #ldap服务器地址 ldap_port = 389 #默认389 ldap_admin_user = 'xx' 阅读全文
posted @ 2023-12-19 15:09 卫龙吖 阅读(695) 评论(0) 推荐(0)
摘要: 解决该问题 运行一下命令即可 git config core.autocrlf true 解释 git config core.autocrlf true 这个命令是在任何支持的操作系统上都可以运行的,包括 Windows 和 Linux。这个命令是用来设置 Git 的全局配置,也就是说,如果你在命 阅读全文
posted @ 2023-11-16 17:30 卫龙吖 阅读(319) 评论(0) 推荐(0)
摘要: 把 zhCn 的引入 改成 下面这个就可以了 import zhCn from "element-plus/es/locale/lang/zh-cn"; 贼拉拉管用,快去试试吧 ~ 阅读全文
posted @ 2023-09-22 15:57 卫龙吖 阅读(579) 评论(0) 推荐(0)
摘要: 解决方法 sudo apt install docker-buildx-plugin 阅读全文
posted @ 2023-05-23 20:35 卫龙吖 阅读(594) 评论(0) 推荐(0)
摘要: 仓库地址: gitee:db_backup_script: mysql 数据库 定时/实时 备份数据库到阿里云盘,备份成功后消息可通知到钉钉群、企业微信群、wxpusher (gitee.com github:gwt805/db_backup_script: mysql 数据库 定时/实时 备份数据 阅读全文
posted @ 2023-05-15 22:56 卫龙吖 阅读(98) 评论(0) 推荐(0)
摘要: 以管理员身份 打开 powershell, 然后输入如下代码 .\reg.exe add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve 然后打开任务管理器,找到 w 阅读全文
posted @ 2023-05-11 21:20 卫龙吖 阅读(53) 评论(0) 推荐(0)
摘要: class User(AbstractUser): username = models.CharField( max_length=20, unique=True, primary_key=True, verbose_name="用户名" ) email = models.EmailField(ma 阅读全文
posted @ 2023-04-26 18:54 卫龙吖 阅读(12) 评论(0) 推荐(0)
摘要: 本想每天定点的去查询一些数据然后用钉钉机器人发出来,前两三天还好好的,后面就执行 ERROR了 看了下错误问题,就跟连不上数据库一样,参考别人的解决方法 scheduler.add_job(every_day_ding_send_report_form, "cron", id='ding_day_r 阅读全文
posted @ 2023-01-26 13:10 卫龙吖 阅读(178) 评论(0) 推荐(0)
摘要: re_path(r"report_img/(.*)$",views.ReportImage.as_view()) def return_img(request): img_dir = os.path.join(BASE_DIR,"day_report_form") img = img_dir + " 阅读全文
posted @ 2023-01-15 16:04 卫龙吖 阅读(92) 评论(0) 推荐(0)