会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
半日闲1
博客园
首页
新随笔
联系
订阅
管理
2024年8月11日
supervisor 管理 Django 进程
摘要: 1. 报错: supervisorctl restart allunix:///var/run/supervisor.sock no such file 原因:supervisor管理的服务未启动 解决:supervisord -c /etc/supervisor/supervisord.conf
阅读全文
posted @ 2024-08-11 14:48 半日闲1
阅读(28)
评论(0)
推荐(0)
2024年3月24日
jwt 解析token
摘要: 报错:ImportError: cannot import name 'smart_text' from 'django.utils.encodin 解决:将 smart_test --》 smart_str 报错:ImportError: cannot import name 'ugettext_
阅读全文
posted @ 2024-03-24 15:24 半日闲1
阅读(50)
评论(0)
推荐(0)
2024年1月5日
重定向
摘要: 根url urlpatterns = [ path('', include('root.urls')), ] root应用url from django.urls import path from . import views urlpatterns = [ path('', views.index
阅读全文
posted @ 2024-01-05 19:33 半日闲1
阅读(9)
评论(0)
推荐(0)
2023年12月23日
vue net::ERR_CONNECTION_REFUSED
摘要: docker + vue2 + flask + nginx 项目部署 前后端项目启动 点击页面,前端打印台出现:net::ERR_CONNECTION_REFUSED 原因:后端端口问题 5000端口 容器与宿主机没有进行映射,映射完即可正常访问
阅读全文
posted @ 2023-12-23 21:56 半日闲1
阅读(441)
评论(0)
推荐(0)
2023年11月24日
error:0308010C:digital envelope routines::unsupported
摘要: 执行:npm run serve 出现:error:0308010C:digital envelope routines::unsupported 原因:npm 版本升级 解决:package.json 增加配置 "scripts": { "serve": "set NODE_OPTIONS ope
阅读全文
posted @ 2023-11-24 17:01 半日闲1
阅读(99)
评论(0)
推荐(0)
2023年11月16日
podman Error: container create failed (no logs from conmon):
摘要: Error: unable to start container 问题:podman 修改存储文件之后无法起容器 解决:重启podman服务:systemctl restart podman
阅读全文
posted @ 2023-11-16 15:06 半日闲1
阅读(165)
评论(0)
推荐(0)
2023年11月1日
vue 设置图片背景
摘要: css类 <template> <div class="home"> <HelloWorld msg="Welcome to Your Vue.js App"/> </div> </template> <style> .home { height: 100%; width: 100%; backgr
阅读全文
posted @ 2023-11-01 23:58 半日闲1
阅读(118)
评论(0)
推荐(0)
Vue3中使用Element Plus Icon图标
摘要: 1. 安装 npm install element-plus --save 2. main.js 引入 import * as Elicons from "@element-plus/icons-vue"; for (const name in Elicons) { app.component(na
阅读全文
posted @ 2023-11-01 17:27 半日闲1
阅读(445)
评论(0)
推荐(0)
2023年10月19日
ount: /mnt: wrong fs type, bad option, bad superblock on /dev/sda, missing codepage or helper program, or other error
摘要: 解决:sda 没有文件系统格式 格式化磁盘即可:mkfs -t ext2 /dev/sda 挂载即可:mount /dev/sda /mnt
阅读全文
posted @ 2023-10-19 22:37 半日闲1
阅读(946)
评论(0)
推荐(0)
2023年8月16日
vue-router 配置
摘要: 1. 安装 npm install vue-router --save vue2 会有版本兼容问题:npm install vue-router@3.5.2 2. 配置 在src文件夹下新建router文件夹,在router文件夹中新建index.js // 导入路由对象 import Router
阅读全文
posted @ 2023-08-16 16:23 半日闲1
阅读(84)
评论(0)
推荐(0)
下一页
公告