本文的校验有两个要去,1是必填,2填写的必须是中文 将校验规则改为 validate: [ { required: true, message: "请输入goods_name", trigger: "blur" }, //必填校验 { //正则匹配 required: true, pattern: ...
分类:
其他好文 时间:
2020-07-07 12:54:54
阅读次数:
50
cat * > new.mp4 More Details:https://www.tecmint.com/13-basic-cat-command-examples-in-linux/ ffmpeg.exe -allowed_extensions ALL -i xx.m3u8 -c copy -bs ...
分类:
其他好文 时间:
2020-07-07 09:29:20
阅读次数:
81
OS : Windows 10 browser : Chrome 83.0.4103.116 editor : Visual Studio Code 1.46.1 typesetting : Markdown html <!DOCTYPE html> <html lang="zh-CN"> <hea ...
分类:
Web程序 时间:
2020-07-07 00:38:14
阅读次数:
172
scrapy.Spider 这一节我们来聊一聊爬虫文件 1. 请求发送 # -*- coding: utf-8 -*- import scrapy class BaiduSpider(scrapy.Spider): name = 'baidu' allowed_domains = ['baidu.c ...
分类:
其他好文 时间:
2020-07-06 22:45:57
阅读次数:
63
试图修改max_allowed_packet 参数大小,无效。 在mysqldump 出文件的开头添加了以下文本,恢复成功,source 不报错。 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 S ...
分类:
数据库 时间:
2020-07-06 12:50:24
阅读次数:
119
前提你已经在单例模式下面更改了root用户的密码(就是你知道自己root用户的密码是多少) 第一步,以root登录其它控制台(eg. kali using Ctrl+Alt+F2) 第二步: vim /etc/pam.d/gdm-autologin 找到这一行:auth required pam_s ...
分类:
系统相关 时间:
2020-07-06 01:00:41
阅读次数:
179
问题 有时想开两个运行窗口,但是不知道怎么弄,重复点击Run按钮还会提示“is not allowed to run in parallel”, 解决方法 打开run–>edit configuration,选择需要多线程所在的程序,也就是需要多开的程序,在右上角有"Allow running in ...
分类:
系统相关 时间:
2020-07-05 15:32:37
阅读次数:
107
转自:http://www.cnblogs.com/weixing/p/5674078.html References required: HttpContextWrapper - System.Web.dll RemoteEndpointMessageProperty - System.Servi ...
2种方法: 1.open文件设置encoding file = open(filename, 'r', encoding='UTF-8') 2.用encode方法 str = str.encode() 参考:https://www.fujieace.com/python/str-bytes.html ...
分类:
编程语言 时间:
2020-07-05 00:27:39
阅读次数:
167
@Transactional(propagation=PROPAGATION_REQUIRED) pubilc void methodA(){ doPreSomething; methodB(); doSufSomething; } @Transactional(propagation=PROPAG ...
分类:
编程语言 时间:
2020-07-04 18:51:18
阅读次数:
84