在小程序中,e.target与e.currentTarget是非常重要的,尤其是涉及到页面传值时!本节只说两者的区别,关于传值下一节再详细讲解>https://blog.csdn.net/Syleapn/article/details/81290133#comments~ 下面开始正文啦!! 先来大 ...
分类:
微信 时间:
2020-06-30 19:05:38
阅读次数:
87
<input id="sjmc" class="easyui-combobox" data-bind="easyuiValue:SR_BUSINESS.SJMC" data-options="events:{blur: function(){ alert('提示') }}" /> <input id ...
分类:
其他好文 时间:
2020-06-30 10:31:05
阅读次数:
92
Function.prototype.myBind = function(obj,...rest){ let that = this let bound = function(...args){ let params = [...rest,...args] that.apply(this.const ...
分类:
其他好文 时间:
2020-06-29 13:22:51
阅读次数:
128
当终止服务器运行后,再次进行调试时,出现bind error: Address Already in use 在bind函数调用前添加,即可免去Linux下的TIME_WAIT的将近两分钟的等待时间 int on=1; setsockopt(sockfd,SOL_SOCKET,SO_REUSEADD ...
分类:
Web程序 时间:
2020-06-29 13:13:21
阅读次数:
108
puma是rails默认的web服务,当使用rails server启动的时候,puma默认的监听地址是127.0.0.1:3000,此时的web服务只能在本机上访问。当然通过命令行我们可以很方便的改变默认设置,例如: rails s -b 0.0.0.0 -p 3003 这样就将默认端口改为了30 ...
分类:
其他好文 时间:
2020-06-29 11:55:41
阅读次数:
72
Linux系统下禅道的安装以及配置教程 首先查看Linux安装的版本,64的还是32的!查看Linux版本:[root@localhost ~]# getconf LONG_BIT 1、Linux中可以用以下命令来下载安装包(官网找):64位下载:wget https://excellmedia.d ...
分类:
系统相关 时间:
2020-06-29 11:50:40
阅读次数:
87
如果在其他主机telnet不通,或者不能访问,则首先看下防火墙是否开发了端口(访问地址:https://www.cnblogs.com/heqiuyong/p/10460150.html) 如果端口开发,但主机还是不能访问端口,则使用如下方法,ip引起的问题! 1.reids服务器的6379端口te ...
分类:
Web程序 时间:
2020-06-29 11:19:13
阅读次数:
186
本文主要介绍JavaScript中apply call 和 bind用法的区别,它们的作用都是给函数方法中的this赋值,改变this的指向。具体每个方法的用法,可以看下网站的其它文章,下面具体看一下它们之间的区别。 原文地址:https://www.cjavapy.com/article/35/ ...
分类:
移动开发 时间:
2020-06-29 09:35:33
阅读次数:
58
###guess | 爆破密码 #####场景:爆破密码 #encoding=utf-8 #@zer0_1s:逐位爆破 List='zre0_ls{guess_wh@t}' a=[] for i in List: a.append(ord(i)) #for j in a: # print(j,end ...
分类:
编程语言 时间:
2020-06-29 00:28:09
阅读次数:
205
1、统一异常处理类package cn.hadron.controller;import org.springframework.web.bind.annotation.ControllerAdvice;import org.springframework.web.bind.annotation.E ...
分类:
编程语言 时间:
2020-06-28 22:43:53
阅读次数:
71