上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 25 下一页
摘要: https://blog.csdn.net/forezp/article/details/76408139 阅读全文
posted @ 2018-11-06 15:17 Andrew_F 阅读(383) 评论(0) 推荐(0) 编辑
摘要: Spring框架下,Bean的创建和装配非常的灵活,提供了三种主要的方式,并且相互见可以互相看见,也就是你可以随意地采用你喜欢且合适的方式创建Bean,而不用担心他们之间的兼容问题。 一、使用XML显示配置Bean 在Spring框架最初的是,XML是最主要的配置方式。在XML中创建Bean需要使用 阅读全文
posted @ 2018-11-05 22:55 Andrew_F 阅读(824) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/xiaojieblog/article/details/70332469 阅读全文
posted @ 2018-11-05 22:04 Andrew_F 阅读(163) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq_32814555/article/details/79494533 阅读全文
posted @ 2018-11-05 21:53 Andrew_F 阅读(1629) 评论(0) 推荐(0) 编辑
摘要: 1、当路由中不写controller的时候,controller写在对应的html表单中 2、若要写在路由中,如下 3、转到相应的路由(页面) 1、采用location服务 2、采用 transitionTo 4、含有导航标题的可以采用abstract:true,默认会先加载父页面 5、angula 阅读全文
posted @ 2018-11-04 19:34 Andrew_F 阅读(556) 评论(0) 推荐(0) 编辑
摘要: 也就是说 ng-model是绑定html输入的值-->到控制器的变量,输入值变了,控制器对应的变量message的值页变了,这样,在其他地方就可以使用这个变化后的值 ng-bind 是绑定控制器的值-->到html页面,控制器的变量值变了,页面的数据跟着变 阅读全文
posted @ 2018-11-02 15:20 Andrew_F 阅读(181) 评论(0) 推荐(0) 编辑
摘要: :''}}" ng-repeat="x in names"> {{ $index + 1 }} {{ x.Name }} {{ x.Country }} {{ $index + 1 }} {{ x.Name }} {{ x.Country }} ... 阅读全文
posted @ 2018-11-01 22:41 Andrew_F 阅读(132) 评论(0) 推荐(0) 编辑
摘要: controller 有两种写法,讨论一下两种写法的区别: 写法 1: 写法2: 两种写法都是对的,但是推荐第二种写法,因为第一种写法在 js 压缩后会出问题,而第二种写法可以完美应对 js 压缩,原因是:js 压缩后,变量名会重命名,故第一种写法会报错。 上面的例子第 2 种写法还可以这样: 阅读全文
posted @ 2018-11-01 20:08 Andrew_F 阅读(519) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/ityouknow/p/8599093.html 阅读全文
posted @ 2018-11-01 14:25 Andrew_F 阅读(112) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq_37272886/article/details/78974200 阅读全文
posted @ 2018-10-15 15:51 Andrew_F 阅读(360) 评论(0) 推荐(0) 编辑
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 25 下一页