input标签: type属性 text password reset submit button file hidden CheckBox radio date name属性 分组,提交数据时的key,提交的数据value value:指定默认值 默认选中 checked readonly 只读 ...
分类:
Web程序 时间:
2020-05-24 14:02:41
阅读次数:
73
前言 ui自动化操作页面上的元素,常用的方法就那么几个,输入文本,点击元素,清空文本,点击按钮。 还有一些特殊的checkbox,radio,滚动条等。 .type() 往输入框输入文本元素 .focus() 要聚焦DOM元素,请使用.focus()命令 .blur() 判断输入框是必填项 .cle ...
分类:
其他好文 时间:
2020-05-11 18:58:43
阅读次数:
78
A. Radio Prize All boring tree-shaped lands are alike, while all exciting tree-shaped lands are exciting in their own special ways.What makes Treeland ...
分类:
其他好文 时间:
2020-05-10 19:29:13
阅读次数:
83
Cerebro简介cerebro是使用Scala,PlayFramework,AngularJS和Bootstrap构建的开源(MIT许可)elasticsearchWeb管理工具。前提条件cerebro需要Java1.8或更高版本才能运行。环境本文基于elasticsearchv7.6.1集群环境进行操作,详情参看Elasticsearch集群安装与配置,Cerebro版本为v0.8.5,下载地
分类:
Web程序 时间:
2020-05-10 01:20:14
阅读次数:
113
<el-main style="overflow-y: auto;text-align: -webkit-center"> <div class="base-info-form" style="padding:20px;width:50%"> <el-form @validate="validate ...
分类:
其他好文 时间:
2020-05-08 16:24:52
阅读次数:
82
事件 change 事件被<input>, <select>, 和<textarea> 元素触发。 //触发情况 1.<input type="radio"> 和 <input type="checkbox"> 的默认选项被修改时(通过点击或者键盘事件)。 2.当用户完成提交动作时 (例如:点击了 ...
分类:
Web程序 时间:
2020-05-07 00:40:33
阅读次数:
169
使用textarea {{message}} 使用radio 性别: 男 女 选中了谁: {{message}} 使用select下拉框 value: {{message}} 总结 1.通过双向绑定,得出需要用到 [^ textarea] 进行绑定 [^ texterea]:在文本区域插值 ({{t ...
分类:
其他好文 时间:
2020-05-04 19:16:23
阅读次数:
52
from django.forms.widgets import RadioSelect class ColorRadioSelect(RadioSelect): # input_type = 'radio' # template_name = 'django/forms/widgets/radio ...
分类:
其他好文 时间:
2020-05-04 13:30:31
阅读次数:
96
Thymeleaf和vue不是一类事务。 模板引擎:Thymeleaf、freemarker、JSP。 前端框架:vue、angularjs、react。 Thymeleaf是一个替代JSP的模板引擎。 使用Thymeleaf或其他模板的时候也可以使用前端框架。 现在github上很多工程就是spr ...
分类:
其他好文 时间:
2020-05-03 18:28:30
阅读次数:
390