场景:做修改密码的时候,已对表单手机号、验证码、新密码做过整体检验规则,当点击发送验证码的时候,我只需要校验规则中的手机规则。查看官方文档发现 validateField ,官方给它的定义是:对部分表单字段检验的方法。 示例代码如下 <template> <div class="user-conta ...
分类:
其他好文 时间:
2021-04-05 11:54:05
阅读次数:
0
1.下载安装包 wget https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-8.0.11-linux-glibc2.12-x86_64.tar.gz 2.解压文件 tar -zxvf mysql-8.0.11-linux-glibc2.12-x8 ...
分类:
数据库 时间:
2021-04-02 13:11:05
阅读次数:
0
""" 官网:https://docs.python-requests.org/zh_CN/latest/ Requests 唯一的一个非转基因的 Python HTTP 库,人类可以安全享用。 警告:非专业使用其他 HTTP 库会导致危险的副作用,包括:安全缺陷症、冗余代码症、重新发明轮子症、啃文 ...
分类:
其他好文 时间:
2021-04-01 12:56:36
阅读次数:
0
Linux命令 1.Linux文件相关的命令 1.1 find 查找文件或目录 语法:find [搜索范围][匹配条件] 参数说明 -name:按文件名称查找 -user:按文件拥有者查找 -size:按照文件大小查找(+n大于,-n小于,n等于) [root@localhost ~]# find ...
分类:
系统相关 时间:
2021-03-31 12:14:17
阅读次数:
0
网上很多帖子有在Linux上安装Redis的分享,这里我就不再多介绍。 redis在centos7中的开机自启在系统服务目录里创建redis.service文件 vi /etc/systemd/system/redis.service 写入以下内容:[Unit]Description=redis-s ...
分类:
系统相关 时间:
2021-03-31 12:13:38
阅读次数:
0
创建用户create user pidms_user identified by 'pidms_user';添加权限grant all privileges on *.* to pidms_user@'%' identified by 'kcm123456'; flush privileges; ...
分类:
数据库 时间:
2021-03-31 12:06:09
阅读次数:
0
在剧本中设置循环信息 vim test04.yml hosts: all remote_user: root tasks: name: Add Users user: name={{ item.name }} groups={{ item.groups }} state=present with_i ...
分类:
其他好文 时间:
2021-03-31 11:52:29
阅读次数:
0
文档链接 https://docs.ansible.com/ansible/latest/reference_appendices/config.html 配置文件 [defaults] inventory = /etc/ansible/hosts sudo_user=root remote_por ...
分类:
其他好文 时间:
2021-03-30 13:37:18
阅读次数:
0
import contextlib import pyhdfs class HdfsUtil(object): def __init__(self, hosts='namenode1:9870,namenode2:9870', user_name='hdfs'): self.hosts = host ...
分类:
编程语言 时间:
2021-03-30 13:29:22
阅读次数:
0
<%-- Created by IntelliJ IDEA. User: Dell Date: 2021/3/27 Time: 19:51 To change this template use File | Settings | File Templates. --%> <%@ page cont ...
分类:
Web程序 时间:
2021-03-30 13:10:55
阅读次数:
0