摘要:
在 ForVuex 组件中操作 state 里的数据 1 App.vue 文件 2 3 <template> 4 <div id="app"> 5 <ForVuex /> 6 </div> 7 </template> 8 9 <script> 10 import ForVuex from './co
阅读全文
posted @ 2019-12-05 17:58
abdusalam10
阅读(129)
推荐(0)
摘要:
父组件 向 子组件 传递数据 1 Parent.vue 文件 2 3 <template> 4 <div> 5 <h2>Parent Component</h2> 6 <p> 7 <Child :ParentToChild="ParentToChildMsg" /> 8 </p> 9 </div>
阅读全文
posted @ 2019-12-05 17:53
abdusalam10
阅读(437)
推荐(0)
摘要:
码农教程 :http://www.manongjc.com/ 码云 :https://gitee.com/ 慕课网 :https://www.imooc.com/ 网易云课堂 :https://study.163.com/ 腾讯课堂 :https://ke.qq.com/ 免费 API 接口 :ht
阅读全文
posted @ 2019-12-02 12:11
abdusalam10
阅读(247)
推荐(0)
摘要:
运行一下命令缓存输入的用户名和密码: git config --global credential.helper wincred 清除掉缓存在git中的用户名和密码 git credential-manager uninstall
阅读全文
posted @ 2019-11-29 17:12
abdusalam10
阅读(954)
推荐(0)
摘要:
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-websocket</artifactId> </dependency> 1 package me.abdusalam.w
阅读全文
posted @ 2019-11-29 16:50
abdusalam10
阅读(1152)
推荐(0)
摘要:
【queryStringParameter|FormData】 与 【@Valid @ModelAttribute param】 与 【BindException】 站一边 ( 有可能需要设置请求的 'Content-Type': 'application/x-www-form-urlencoded
阅读全文
posted @ 2019-11-28 15:42
abdusalam10
阅读(120)
推荐(0)
摘要:
1 @Setter 2 @Getter 3 @MappedSuperclass 4 public class CreateTimeAndUpdateTime implements Serializable { 5 6 @Column(columnDefinition = "TIMESTAMP DEF
阅读全文
posted @ 2019-11-22 17:57
abdusalam10
阅读(949)
推荐(0)
摘要:
/** * @javax.persistence.Column(name="xxx",unique=false,nullable=true) 指定当前属性所要映射字段 * name 表中所对应字段的名称【默认值:与属性名一致】 * unique 该字段是否为唯一约束字段 【默认值 FALSE】 *
阅读全文
posted @ 2019-11-22 13:13
abdusalam10
阅读(1609)
推荐(0)
摘要:
@Id,@GeneratedValue 一起使用,设置主键生成策略为: 主键自增注意:适用于MySql等具备主键自增功能的数据库,因为底层就是借用了MySql的主键自增功能 1 @Entity 2 public class TblTest { 3 4 @Id 5 @GeneratedValue(st
阅读全文
posted @ 2019-11-22 12:04
abdusalam10
阅读(2179)
推荐(0)
摘要:
1 @Entity 2 @Table(name = "student") 3 public class Student { 4 5 @Id 6 private Integer Id; 7 8 public Integer getId() { 9 return Id; 10 } 11 public v
阅读全文
posted @ 2019-11-21 19:18
abdusalam10
阅读(1115)
推荐(0)