wheelEvent = "onwheel" in document.createElement("div") ? "wheel" : // Modern browsers support "wheel" document.onmousewheel !== undefined ? "mousewhe ...
分类:
其他好文 时间:
2020-05-22 15:32:54
阅读次数:
52
 ...
js冒泡和捕获是事件的两种行为,使用event.stopPropagation()起到阻止捕获和冒泡阶段中当前事件的进一步传播。使用event.preventDefault()可以取消默认事件。 1. 阻止冒泡 2. 阻止默认行为 事件注意点 1. event代表事件的状态,例如触发event对象的 ...
分类:
Web程序 时间:
2020-05-22 13:06:18
阅读次数:
58
mysql的50版本和51版本的区别:一、5.0 增加了Stored procedures、Views、Cursors、Triggers、XA transactions的支持,增加了INFORATION_SCHEMA系统数据库。 二、5.1 增加了Event scheduler,Partitioni ...
分类:
数据库 时间:
2020-05-22 12:58:05
阅读次数:
132
1.在输入input时会提示原来输入过的内容,还会出现下拉的历史记录,禁止这种情况只需在input中加入:autocomplete=“off” <input type="text" autocomplete="off" /> 2.防止退后清空的TEXT文档(可把style内容做做为类引用) <inp ...
分类:
其他好文 时间:
2020-05-22 12:36:25
阅读次数:
82
添加Constant类 1 package top.bigking.constant; 2 3 /** 4 * @Author ABKing 5 * @since 2020/5/14 下午5:58 6 **/ 7 8 public class Constant { 9 10 /** 11 * 数据请 ...
分类:
其他好文 时间:
2020-05-21 23:45:20
阅读次数:
71
SQL Server连接本地数据库时的异常 作者:coder小码(coderxm) 最近想学点SQL server,几个月前下过,可中间电脑换过机名,重装过系统(电脑不是键盘一下没反应就是鼠标没反应),充分暴露出windows的不稳定。这告诉我们:要早点和windows离婚吧,换一个漂亮又好用点的l ...
分类:
数据库 时间:
2020-05-21 22:32:23
阅读次数:
475
FluentScheduler是一个简单的任务调度框架,使用起来非常方便。作者的源码和例子的地址: https://github.com/fluentscheduler/FluentScheduler 1.首先引用FluentScheduler.dll,dll数据源可通过NuGet程序包获取。打开管 ...
分类:
其他好文 时间:
2020-05-21 19:32:15
阅读次数:
88
非原创,很久以前一篇老大的日记了,忘了出处 $(document).on('show.bs.modal', '.modal', function(event) { $(this).appendTo($('body')); }).on('shown.bs.modal', '.modal.in', fu ...
分类:
其他好文 时间:
2020-05-21 13:26:06
阅读次数:
92
<video @timeupdate="timeupdate" :src="视频路径" controls="controls" poster="封面"></video> data() { return { mytime_02:true, } } //监听播放位置 timeupdate(e) { if ...
分类:
其他好文 时间:
2020-05-20 17:09:34
阅读次数:
413