element ui 给el form表单添加校验规则 校验规则 关闭对话框后将表单清空,否则下次打开表单会有数据在里面 ...
分类:
其他好文 时间:
2020-03-31 22:47:18
阅读次数:
63
Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. push(x) -- Push element x onto stack. pop() -- Remov ...
分类:
其他好文 时间:
2020-03-31 22:46:01
阅读次数:
62
单元测试框架unittest 单元测试 单元测试(unit testing)是指对软件中的最小可测试单元进行检查和验证。对于单元测试中单元的含义,一般来说,要根据实际情况去判定其具体含义,如C语言中单元指一个函数,Java里单元指一个类,图形化的软件中可以指一个窗口或一个菜单等。总的来说,单元就是人 ...
分类:
其他好文 时间:
2020-03-31 21:24:12
阅读次数:
79
<script> function deepClone(obj) { if (typeof obj != 'object' || obj == null) { return obj; } let result; if (obj instanceof Array) { result = []; } e ...
分类:
Web程序 时间:
2020-03-31 21:07:40
阅读次数:
66
import time from selenium import webdriver driver = webdriver.Firefox() driver.get('http://www.baidu.com') time.sleep(5) driver.find_element('id','kw' ...
分类:
其他好文 时间:
2020-03-31 21:07:19
阅读次数:
79
1. _KWAIT_BLOCK解析 struct _KWAIT_BLOCK { struct _LIST_ENTRY WaitListEntry; //0x0 同一可等待对象的下一个等待块 struct _KTHREAD* Thread; //0x8 等待线程 VOID* Object; //0xc ...
分类:
其他好文 时间:
2020-03-31 18:56:19
阅读次数:
85
记录自己遇到的神奇需求 我的表单数据格式 我的一级、二级数据格式 因为我的二级选择是需要分开的,只有先选择一级才能知道childern的数据是什么,所以用到了watch监听一级数据的变化 重新构造了一个对象currentGtobj,它就是通过一级获取到的二级数据 元素绑定结构如图 当以及数据改变是二 ...
分类:
其他好文 时间:
2020-03-31 17:22:22
阅读次数:
599
<!doctype html><html><head><meta charset="utf-8"><title>无标题文档</title></head><body><select id="sel" οnchange="cge()"> <option value="1">4</option> <opt ...
分类:
Web程序 时间:
2020-03-31 17:12:17
阅读次数:
80
需求:上传文件的时候,需要携带其他的参数 问题:使用upload上传文件时,必须使用formData对象,而其他的参数通过data获取的到的,formData和data是不能同时传输的 解决:获取到的data数据,使用formData.append()方法添加上就可以啦,然后把整个formData传 ...
分类:
Web程序 时间:
2020-03-31 16:03:50
阅读次数:
929
在学习Vue的过程之中,我发现不管是 BAT 大厂,还是创业公司,Vue 都有着广泛的应用,而且框架层出不穷,学习文档也越来越多,Vue也越来越受欢迎。下面是我整理的 Vue PC端和移动端的UI框架,建议收藏,方便以后学习的时候拿出来查看。 Vue PC端框架 1. Element 中文文档:ht ...
分类:
移动开发 时间:
2020-03-31 14:39:50
阅读次数:
229