- 博客(2)
- 资源 (6)
- 收藏
- 关注
转载 vue2.0父子组件及非父子组件通信
1.父组件传递数据给子组件 父组件数据可以通过props属性来传给子组件 父组件: <parent> <child :child-msg="msg"></child>//这里必须要用 - 代替驼峰 </parent> data(){ return { msg: [1,2,3] }; } 子组件通过props来接收数据: 方式1:pro
2017-09-19 12:19:36 416
原创 二分查找
基本思想: 二分查找就是将查找的键和子数组的中间键作比较,如果被查找的键小于中间键,就在左子数组继续查找;如果大于中间键,就在右子数组中查找,否则中间键就是要找的元素。 算法代码: static int binarySerach(int[] array, int key) { int left = 0; int right = array.length - 1; //
2017-09-19 11:21:50 307
206200_tmallandroid_13.6.0_release_abi64.apk
2023-01-11
JS基础教程第9版
2018-09-02
IOS 9.3 Developer Disk Image
2016-03-28
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人