
IT
k_e_vi_n
这个作者很懒,什么都没留下…
展开
-
记smartGit与github整合所遇问题
一、整合过程 1、申请github账号,并创建新仓库,勾选Initialize this repository with a README 2、在github页面 clone or download 采用https方式 3、打开smartGit 菜单栏选择repository —>clone —> 选择Remote Git or SVN Repository(默认项)—>...原创 2018-03-26 15:56:12 · 869 阅读 · 0 评论 -
java.sql.SQLException: Access denied for user 'Kevin'@'xxxxx' (using password: YES)的错误解决方法
1、首先判断时候是否用户确实没有数据库的权限,如果没有grant all privileges on 想授权的数据库.* to 'user1'@'%';flush privileges;2、赋过权限之后如果还报同样的错误,添加如下标红的部分jdbc.url=jdbc:mysql://localhost:3306/weibo?useUnicode=true&characte...原创 2018-10-02 17:24:02 · 392 阅读 · 0 评论 -
引入js文件出现的让人无语的问题
在整合angularjs的过程中需要引入js文件,不是一个很有深度的问题,但小问题再解决之后才会让人更无语,引入文件的时候<script src="vendor/angular/angular.min.js"></script>写成了<script src="vendor/angular/angular.min.js"/>导致页面死活显示不出来,特此记录,引...原创 2018-10-04 17:56:13 · 202 阅读 · 0 评论 -
引入jquery.js导致的令人无语的问题
在整合angularjs的时候创建var user = {}; 当传递参数的时候使用$scope.user.password的时候总显示为null,原来是jquery中有password这个属性,会屏蔽掉传递的值,所以在引入了jquery.js后,密码最好换个属性,如pwd。...原创 2018-10-04 22:18:22 · 229 阅读 · 0 评论 -
解决fonts/fontawesome-webfont.woff2 404 (Not Found) fonts/fontawesome-webfont.ttf 404 (Not Found)
只是记录思路1、确认springMVC能正确访问静态资源,三种方法:1)在web.xml中配置servelet-mapping default 2)在spring-mvc.xml中配置<mvc:default-servlet-handler/> 3)在spring-mvc中配置<mvc:resources mapping="/js/**" location="/js/"/&...原创 2018-10-05 20:34:55 · 6055 阅读 · 0 评论 -
setCookie时遇到的问题
document.cookie = c_name + "=" + escape(value) + ((expiredays == null) ? "" : ";expires=" + exdate.toUTCString())在网上搜索document.cookie的用法,几乎每篇文章都如上所写,但亲自上手在项目中写了一遍后发现并不是像所想那样,只存上了第一个键值,;之后的键值没有存上,后...原创 2018-10-05 21:18:03 · 433 阅读 · 0 评论 -
angular前段 formGroup和formControlName问题
ERROR Error: formControlName must be used with a parent formGroup directive. You'll want to add a formGroup directive and pass it an existing FormGroup instance (you can create one in your cla...原创 2019-04-22 10:24:55 · 2281 阅读 · 0 评论 -
angular 可移动弹框
方法一:html: 添加指令<div kendoWindowContainer></div>ts: 1、声明@ViewChild(WindowContainerDirective, {read: ViewContainerRef}) windowContainer: ViewContainerRef; 2、在constructor 中注入 priva...原创 2019-04-17 17:30:54 · 1279 阅读 · 0 评论