分页方式:1.数组拼接 2.利用二维数组实现局部加载 关于1.基本思路时,当触发分页方法,请求到新数据(newList)拼接在老数据中(oldList),最后在渲染一次。 然后在对应的方法上进行调用就是了,可以是滚动条监听(bindscrolltolower),也可以是小程序自带的(onReachB ...
分类:
微信 时间:
2020-06-19 22:48:43
阅读次数:
110
yum安装epel-release后yum安装软件报错 Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again 原因是epel仓库默认使用https 解决方法: 改epel文 ...
分类:
Web程序 时间:
2020-06-19 21:13:42
阅读次数:
58
一、添加自定义事件 通过jQuery的bind()或者on()方法 添加自定义事件 如下代码 自定义了一个mychange事件 $("#postionId").on("mychange",function () { console.log(11); validForm.check(false,"#p ...
分类:
Web程序 时间:
2020-06-19 00:46:28
阅读次数:
132
U3D文档释义: SetPass:The number of rendering passes. Each pass requires Unity runtime to bind a new shader which may introduce CPU overhead Batches:“Batch ...
分类:
编程语言 时间:
2020-06-18 21:47:58
阅读次数:
78
Web服务本质 import socket sk = socket.socket() sk.bind(("127.0.0.1", 8080)) sk.listen(5) while True: conn, addr = sk.accept() data = conn.recv(1024) conn. ...
分类:
Web程序 时间:
2020-06-18 21:25:52
阅读次数:
59
出错场景:多次调用ES统计方法,第二次时会报错。 解决办法:在AggregationBuilders.cardinality("tempField").field("countFiled"),中的"tempField"用一个随机字符串代替。 查询后取结果的时候,再用随机字符串取出。 ...
分类:
编程语言 时间:
2020-06-18 19:52:46
阅读次数:
185
Docker的数据持久化主要有两种方式: bind mount volume Docker的数据持久化即使数据不随着container的结束而结束,数据存在于host机器上——要么存在于host的某个指定目录中(使用bind mount),要么使用docker自己管理的volume(/var/lib ...
分类:
其他好文 时间:
2020-06-18 19:17:45
阅读次数:
57
Description HostAgent fails to establish SSH Connection to RedHat EL7 hostThe error reported when the agent attempts to connect to the host matches th ...
分类:
系统相关 时间:
2020-06-18 19:16:06
阅读次数:
459
实例: 报错:Cannot read property 'itemGroupList' of undefined" 解决方法:在itemGroupList上一层判断一下父级元素 <div v-if="table2.itemCat"> <div v-for="(itemgrounp,indexgrou ...
分类:
其他好文 时间:
2020-06-18 16:36:41
阅读次数:
68
文章来源:https://blog.csdn.net/weichanghu_/article/details/81711449 TCP通信的基本步骤如下: 服务端:socket bind listen while(1){ accept recv send close } close 客户端:sock ...
分类:
其他好文 时间:
2020-06-18 16:16:23
阅读次数:
67