Flask 蓝图介绍 蓝图也就是 BluePrint 是 Flask 提供的一个类,它具备 Flask 核心对象的很多功能,其中最重要的就是注册路由,我们通过蓝图,可以将视图函数根据不同的功能拆分到不同的模块中,从而实现对视图函数的模块化管理与开发。 简单来说,我们可以把蓝图认为是一个完整 Web ...
分类:
其他好文 时间:
2020-11-04 19:07:46
阅读次数:
29
[root@localhost ~]# virsh undefine vhuser-test1error: Failed to undefine domain vhuser-test1error: Requested operation is not valid: cannot undefine d ...
分类:
其他好文 时间:
2020-11-04 19:04:17
阅读次数:
16
Multiple annotations found at this line:- javax.servlet.jsp.JspException cannot be resolved to a type- Attribute (width) is obsolete. Its use is disco ...
分类:
编程语言 时间:
2020-11-04 18:47:34
阅读次数:
19
一、前言 开发完项目,一般调试都是在eclipse或者idea上运行服务的。但是要部署到服务器上,就需要后台运行和自启动等配置了。这里采用Debian系统作为演示。 二、后台运行 工程项目代码采用 maven 进行打包。 1 mvnw package 打包后,生成一个jar包 服务器安装jre运行环 ...
分类:
编程语言 时间:
2020-11-04 18:46:52
阅读次数:
22
1.删除my.ini配置文件下创建的data文件夹 datadir=D:\Program Files (x86)\myql\data\ 2.在管理员权限CMD的bin目录下,移除已错误安装的mysqld服务 mysqld -remove MySQL或sc delete MySQL 出现删除成功 3. ...
分类:
数据库 时间:
2020-11-04 18:44:00
阅读次数:
29
解决:vue-cli4创建项目导入elementUI,浏览器报错Uncaught TypeError: Cannot read property ‘prototype‘ of undefined 如果直接使用命令安装vueclie:npm install -g @vue/cli 就会直接安装最新版本 ...
分类:
其他好文 时间:
2020-11-04 18:42:25
阅读次数:
39
在树莓派上运行自己的程序的时候报了错误 Can't open /dev/mem: Permission denied RuntimeError: ws2811_init failed with code -5 (mmap() failed) ,看了网上好像没有什么解决办法,分享一个自己的 在命令行下 ...
分类:
其他好文 时间:
2020-11-04 18:20:31
阅读次数:
21
root@pcl-01:/usr/share/defaults/kata-containers# qemu-system-aarch64 -vqemu-system-aarch64: error while loading shared libraries: librbd.so.1: cannot ...
分类:
系统相关 时间:
2020-11-04 17:41:12
阅读次数:
35
官网地址:https://github.com/surmon-china/vue-awesome-swiper ...
分类:
Web程序 时间:
2020-11-01 22:24:39
阅读次数:
52
1、Uncaught (in promise) TypeError: Cannot read property 'protocol' of undefined 关于axios引用方法的报错 在main.js中使用import axios from 'axios'导入axios后 使用Vue.use( ...
分类:
其他好文 时间:
2020-11-01 22:02:39
阅读次数:
21