会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
tytbook
博客园
首页
新随笔
联系
订阅
管理
2025年7月29日
django+Vue的项目使用docker打包
摘要: django项目迁移 ①在项目根目录下,创建Dockerfile文件: # 使用官方 Python 镜像作为基础 FROM python:3.9.18 # 设置工作目录 WORKDIR /app # 复制项目文件 COPY . /app # 安装依赖 RUN pip install --upgrad
阅读全文
posted @ 2025-07-29 19:06 台友涛
阅读(19)
评论(0)
推荐(0)
2024年9月5日
VScode远程连接报错 Resolver error: Error: Connecting with SSH timed out
摘要: 0、引言 导致VScode连接失败的原因有很多。该方法仅针对超时引起的报错。 1、报错内容: [18:01:33.071] Running script with connection command: "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 5344
阅读全文
posted @ 2024-09-05 18:20 台友涛
阅读(1090)
评论(0)
推荐(0)
2024年8月24日
C连接MySQL
摘要: #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <string.h> #include <mysql/mysql.h> #
阅读全文
posted @ 2024-08-24 23:21 台友涛
阅读(18)
评论(0)
推荐(0)
MySQL连接报错: Authentication plugin 'caching_sha2_password' cannot be loaded: /usr/lib64/mysql/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory
摘要: MySQL连接报错: Authentication plugin 'caching_sha2_password' cannot be loaded: /usr/lib64/mysql/plugin/caching_sha2_password.so: cannot open shared object
阅读全文
posted @ 2024-08-24 23:14 台友涛
阅读(42)
评论(0)
推荐(0)
2024年8月14日
vue复选框
摘要: 官网教程:https://cn.vuejs.org/guide/essentials/forms.html
阅读全文
posted @ 2024-08-14 22:38 台友涛
阅读(12)
评论(0)
推荐(0)
2024年4月28日
uniapp的bug们
摘要: 1 uni-icons标签的数据绑定有问题 <uni-icons type="contact" class=" icon" size="25"></uni-icons><span style="font-size: 25px;"><span>{{user_msg}}</span> <!-- 之所以不
阅读全文
posted @ 2024-04-28 01:37 台友涛
阅读(132)
评论(0)
推荐(0)
url规则
摘要: uniapp的url最后加了斜杠,如同,就不能生效了. 与之相对的django必须最后加斜杠,否则报错
阅读全文
posted @ 2024-04-28 00:58 台友涛
阅读(32)
评论(0)
推荐(0)
2024年4月26日
uni-app的POST请求和GET请求
摘要: uni-app就像一个盗版的Vue, 和Vue很想,又不完全像 //微信小程序post请求 uni.request({ url: 'http://127.0.0.1:8000/api/test_post/', // Django后端API地址 method: 'POST', //指定请求类型(POS
阅读全文
posted @ 2024-04-26 12:46 台友涛
阅读(1047)
评论(0)
推荐(0)
2024年4月24日
Vue--POST请求和GET请求
摘要: 1、 POST请求 (POST请求原则上都要传参数,下面介绍两种传参数的方法) 1.1 POST请求传参方法1--字典类型参数 Vue前端代码 <template> <form class="form-inline panel-body" id="formData"> <div > <label>账
阅读全文
posted @ 2024-04-24 17:53 台友涛
阅读(2970)
评论(0)
推荐(0)
bootstrap--模态框
摘要: bootstrap4虽然完全不依赖jquery,但是,模态框的弹出动作还是依赖jquery的 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>我的模态框</title> <link rel="stylesheet" href="
阅读全文
posted @ 2024-04-24 16:06 台友涛
阅读(29)
评论(0)
推荐(0)
下一页
公告