1、解读Login login(){ // 对当前loginForm进行验证,验证属性 this.$refs.loginForm.validate(valid => { if (valid) { this.loading = true //调用store下的login方法 this.$store.d ...
分类:
其他好文 时间:
2020-04-22 12:53:58
阅读次数:
269
错误 useSSL 修改成 false 现在启动成功 (写者的项目快上线了,欢迎大家加入开发)gitee-> https://gitee.com/pig_farmer_x/pigs-blog.git ...
分类:
其他好文 时间:
2020-04-20 23:58:43
阅读次数:
109
$CF\ 634\ (Div3)$ $A.$ 给定 $n$,问有多少对正整数 $a,\ b$,使得 $a + b = n$ 且 $a b$ 如果 $n$ 是偶数,那么 $ans = n / 2 1$ 如果 $n$ 是奇数,那么 $ans = n / 2$ ...
分类:
其他好文 时间:
2020-04-15 01:01:37
阅读次数:
84
题目描述 You are given a correct solution of the sudoku puzzle. If you don't know what is the sudoku, you can read about it here. The picture showing the ...
分类:
其他好文 时间:
2020-04-14 12:24:00
阅读次数:
126
A. Candies and Two Sisters 题意 把一个数拆成两个不等的数有多少种情况。 思路 奇数时除以二即可,偶数时需要再减去相等的情况。 代码 #include <bits/stdc++.h> using namespace std; void solve() { int n; ci ...
分类:
其他好文 时间:
2020-04-14 09:16:51
阅读次数:
81
一 引入maven依赖 compile 'io.springfox:springfox-swagger2:2.9.2'compile 'io.springfox:springfox-swagger-ui:2.9.2'compile "io.springfox:springfox-bean-valid ...
分类:
编程语言 时间:
2020-04-13 16:43:26
阅读次数:
165
前几天用JSOUP写爬虫Demo时,遇到这个异常 百度了一番原来是因为目标站点启用了HTTPS 而缺少安全证书时出现的异常,大概解决办法有2种: 1. 手动导入安全证书(嫌麻烦 没使用); 2. 忽略证书验证。 相对于来说简单一点,在发起请求前调用这个方法,问题解决。 // 包不要导错了 impor ...
分类:
其他好文 时间:
2020-04-12 16:47:40
阅读次数:
84
原因就是你修改的 /etc/profile 文件里你加过空格我的代码如下:export JAVA_HOM:=:/usr/java/jdk1.7.0_75export PATH = $JAVA_HOME/bin::$PATHexport CLASSPATH = .:$JAVA_HOME/lib/dt. ...
分类:
系统相关 时间:
2020-04-12 14:51:57
阅读次数:
118
mySQL 安装 windows windows mysqld initialize console 报错 出现Failed to find valid data directory. 初始化数据库: 程序会在动MySQL文件夹下创建data文件夹以及对应的文件 登录 启动 关闭 mysql服务 移 ...
分类:
数据库 时间:
2020-04-11 09:39:09
阅读次数:
77
在echo $echoStr前面加上ob_clean() 清一下缓存即可 //验证url token public function valid(){ $echoStr = $_GET["echostr"]; if($this checkSignature()){ ob_clean(); echo ...
分类:
微信 时间:
2020-04-08 13:45:14
阅读次数:
165