可能出现这种错误的两种情况 1. 属性绑定错误 确保使用:model,而不是v model 2. ref重复 检查是否在其他el form中使用了相同的ref名,多个el form组件ref命名要独立 ...
分类:
其他好文 时间:
2020-01-17 13:52:19
阅读次数:
302
背景话不多说,我们能否用纯css实现以下效果:答案是肯定的。借助css:placeholder-shown:valid:invalid伪类及html5inputpattern属性就可以实现,:placeholder-shown伪类目前兼容性如下:直接上代码!html:<!DOCTYPEhtml><html><head><metacharset="utf-8
分类:
Web程序 时间:
2020-01-17 10:18:59
阅读次数:
110
一、ldap登录 ldap相关的文档请参考其他资料,再次不再详述。假设ldap已经存储了用户的相关信息数据;目前需要再其他服务中调用ldap的用户信息来登录。如下 1.控制器层 @ApiOperation(value = "登录", notes = "", httpMethod = "GET") @ ...
分类:
其他好文 时间:
2020-01-16 19:06:51
阅读次数:
94
今天使用jenkins构建时,报以下错误 [ERROR] Failed to execute goal on project saas20: Could not resolve dependencies for project com.ipower365.saas:saas20:war:0.0.1- ...
分类:
Web程序 时间:
2020-01-16 17:22:00
阅读次数:
597
技术群: 816227112 参考:https://stackoverflow.com/questions/43455869/could-not-autowire-there-is-more-than-one-bean-of-datasource-type Parameter 0 of method ...
分类:
编程语言 时间:
2020-01-16 16:07:03
阅读次数:
158
urllib(request,error,parse,robotparse) request模块 方法:urlopen() 最基本http请求方法,利用它可以模拟浏览器的一个请求发起过程,同时他还带有助力授权验证authentication,重定向redirection,浏览器cookie 以及其他 ...
分类:
Web程序 时间:
2020-01-16 14:18:05
阅读次数:
99
Enabling IIS and required IIS components on Windows Server To learn how to enable IIS and the required IIS components on Windows Server 2012/2012 R2, ...
将本地文件通过前端上传到服务器上 public BaseResponseSwagger resolveFile(@Valid @ApiParam(value = "file")@RequestParam(name = "file",required = true) MultipartFile fil ...
分类:
编程语言 时间:
2020-01-13 22:01:13
阅读次数:
220
1、@Autowired与@Resource都是用来装配bean. 能写在字段上,或setter方法上。 2、@Autowired默认按类型装配(这个注解是属业spring的),默认情况下必须要求依赖对象必须存在,如果要允许null 值,可以设置它的required属性为false,如:@Autow ...
分类:
其他好文 时间:
2020-01-13 20:04:08
阅读次数:
68
How can I manually create a authentication cookie instead of the default method? Here you go. ASP.NET takes care of this for you when you use the high ...
分类:
其他好文 时间:
2020-01-13 19:40:44
阅读次数:
85