摘要: 1.需要python等环境 2.npm i undertaker 3.安装windows平台依赖 npm install -g windows-build-tools 4.如果npm install报错,先删除node_modules模块 5.不要用cmd,用git bash 6.安装node-sass模块, npm install -g node-sass或 yarn add glo... 阅读全文
posted @ 2018-10-17 19:23 ft039x 阅读(164) 评论(0) 推荐(0) 编辑
摘要: F:\samples>ng g c add-sample Error: More than one module matches. Use skip-import option to skip importing the component into the closest module. More 阅读全文
posted @ 2018-06-12 17:27 ft039x 阅读(704) 评论(0) 推荐(0) 编辑
摘要: path.join 与 path.resolve 的区别 1. 对于以/开始的路径片段,path.join只是简单的将该路径片段进行拼接,而path.resolve将以/开始的路径片段作为根目录,在此之前的路径将会被丢弃,就像是在terminal中使用cd命令一样。 path.join('/a', 阅读全文
posted @ 2018-03-07 14:07 ft039x 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 转载https://www.cnblogs.com/fjdingsd/p/5273008.html 阅读全文
posted @ 2018-02-05 11:43 ft039x 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 优点: a、Java的反射机制就是增加程序的灵活性,避免将程序写死到代码里。 例如: 实例化一个 person()对象, 不使用反射,需要new person(); 如果想变成实例化其他类,那么必须修改源代码,并重新编译。 使用反射: class.forName("person").newInsta 阅读全文
posted @ 2018-02-05 10:37 ft039x 阅读(1337) 评论(0) 推荐(0) 编辑
摘要: 解决办法:https://segmentfault.com/q/1010000009075667 阅读全文
posted @ 2018-01-11 10:19 ft039x 阅读(734) 评论(0) 推荐(0) 编辑
摘要: 1.选择一个目录执行vue init webpack 工程名字<工程名字不能用中文>,若使用vue init webpack-simple 工程名字<工程名字不能用中文>则不会生成config目录 2.安装项目依赖(cnpm install 或者 npm install) 3.启动项目 cnpm r 阅读全文
posted @ 2018-01-10 15:31 ft039x 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 1 实体完整性 所谓实体完整性是指:若属性A(A是一个或一组)是基本关系R的主属性,则A不能取空值。 hint:所谓空值就是“不知道”或者“不存在”的值;主码中的属性被称为主属性。 2参照完整性 现实世界中的实体之间往往存在某种联系,在关系模型中实体及实体中的联系都是用关系来描述的。 所谓参照完整性 阅读全文
posted @ 2018-01-10 13:53 ft039x 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 1 2 5 6 7 8 9 10 org.hibernate.dialect.MySQLDialect 11 12 13 jdbc:mysql://127.0.0.1:3306/hibernate 14 15 root 16 17 com.mysql.jdbc.D... 阅读全文
posted @ 2017-04-12 15:47 ft039x 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 1.MyBaits是数据持久层框架 2.MyBatis 消除了几乎所有的JDBC代码和参数的手工设置以及结果集的检索。MyBatis 使用简单的 XML或注解用于配置和原始映射,将接口和 Java 的POJOs(Plain Old Java Objects,普通的 Java对象)映射成数据库中的记录 阅读全文
posted @ 2016-08-19 15:41 ft039x 阅读(123) 评论(0) 推荐(0) 编辑
TOP