数据库的连接(JDBCUTil) 具体代码: public class JDBCUtil { private static final String DRIVERNAME = "com.mysql.cj.jdbc.Driver";// jdbc 4.0以后不需要 private static fin ...
分类:
其他好文 时间:
2021-01-29 12:17:52
阅读次数:
0
自定义事件:鼠标拖动一个图片,原图片变为阴影,图片跟着鼠标用,鼠标放下,图片放下,原图消失。 void mousePressEvent(QMouseEvent *event); //鼠标按下事件 void dragEnterEvent(QDragEnterEvent *event); //拖动进入事 ...
分类:
其他好文 时间:
2021-01-29 12:17:24
阅读次数:
0
void doPrint(); void doPrintPreview(); void printPreview(QPrinter *printer); void createPdf(); ui->setupUi(this); QAction *action_print = new QAction( ...
分类:
其他好文 时间:
2021-01-29 12:11:27
阅读次数:
0
Windows does not really support dual mode applications. To see console output you need to create a console application CONFIG += console However, if y ...
分类:
其他好文 时间:
2021-01-28 12:25:20
阅读次数:
0
在IE11, import axios from "axios"; let ser = axios.create({ headers: { 'Cache-Control': 'no-cache' } }); ser.interceptors.request.use(config => { if (c ...
分类:
其他好文 时间:
2021-01-28 12:01:13
阅读次数:
0
问题 向MinIO上传文件时,抛出异常:The difference between the request time and the server's time is too large. 使用date命令修改CentOS时间后,异常依然存在。 相关Linux命令 查看系统时间:date 查看硬件 ...
分类:
Web程序 时间:
2021-01-28 11:51:35
阅读次数:
0
出现的场景 在springboot 连接redis的时候出现以下报错 2021-01-27 10:12:07.077 ERROR 4428 [nio-8004-exec-5] s.x.s.e.GlobalExceptionHandler : Redis exception; nested excep ...
分类:
编程语言 时间:
2021-01-28 11:39:51
阅读次数:
0
.vscode/launch.json设置 关键在于 "program": "${workspaceFolder}/src/qt/bitcoin-qt", 全部内容: { // Use IntelliSense to learn about possible attributes. // Hover ...
分类:
其他好文 时间:
2021-01-27 14:04:54
阅读次数:
0
koa2-request koa2的request库封装,支持async和await写法 安装 npm install koa2-request 使用方法 var koa2Req = require('koa2-request'); app.use(async(ctx, next) => { // ...
分类:
Web程序 时间:
2021-01-27 13:21:22
阅读次数:
0
code from flask import Flask, jsonify, abort, request app = Flask(__name__) books = [ { 'id': 1, 'title': u'论语', 'auther': u'孔子', 'price': 18 }, { 'id ...
分类:
其他好文 时间:
2021-01-26 12:15:52
阅读次数:
0