壹 ? 引 登录成功后跳转到上一个页面是很常见的需求,比如在天猫添加购物车时网站会效验用户登录情况,若未登录则跳转登录,登录成功返回到先前的商品页。 这个功能实现并不困难,但因为我的奇思妙想让我先后了解了 对象以及 窗口关闭/离开事件 ,那么让这个需求做个引子,让我们开始一次有趣的探索之旅。 贰 ? ...
分类:
Web程序 时间:
2020-01-08 00:45:39
阅读次数:
212
hiveserver2连接出错如下:Error: Could not open client transport with JDBC Uri: jdbc:hive2://hadoop01:10000: java.net.ConnectException: Connection refused (Co ...
分类:
数据库 时间:
2020-01-07 01:09:35
阅读次数:
254
window方法 history.back(-1):直接返回当前页的上一页,数据全部消息,是个新页面 history.go(-1):也是返回当前页的上一页,不过表单里的数据全部还在 history.back(1) 前进 history.back(-1) 后退 window.location.relo ...
A New Alzheimer’s Vaccine Could Be Headed for Human Trials Cognitive decline has been part of the aging process for all of human history, but a team o ...
分类:
其他好文 时间:
2020-01-05 09:25:23
阅读次数:
103
#查看dockerFile#!/bin/bashexportPATH=$PATHif[$#-eq1];thendockerhistory--format{{.CreatedBy}}--no-trunc=true$1|sed"s/\/bin\/sh\-c\\#(nop)\//g"|sed"s/\/bin\/sh\-c/RUN/g"|tacelseecho"shObtain_dockerfile.sh
分类:
其他好文 时间:
2020-01-04 16:48:36
阅读次数:
91
问题出现原因: 1.在history模式下的404空白 2.在history模式下存在多级路由时,页面路由跳转是ok的,但当二级以上路由时,浏览器直接刷新页面会空白 先说解决方案: 1.在history模式下的404空白 * 后台或者nignx服务器发现404时,直接重定向到index.html就可 ...
分类:
其他好文 时间:
2020-01-04 01:18:26
阅读次数:
260
前端路由:在应用使用期间不会重新加载,提高用户体验,减低网速要求,界面展开快。前后端分离方便开发目前前端路由有两种实现方法:利用url的hash,当浏览器url的锚点部分发生改变,不会刷新页面的原理利用h5中的history,通过监听opostate事件,利用pushstate或replacesta... ...
分类:
其他好文 时间:
2020-01-04 01:10:28
阅读次数:
113
启动顺序 Hadoop及hbase集群启动顺序 zookeepeer -> hadoop -> hbase 停止顺序 Hadoop及hbase集群关闭顺序 hbase -> hadoop -> zookeepeer 启动和停止ZK /home/zookeeper-3.4.6/bin/zkServer ...
分类:
其他好文 时间:
2020-01-03 23:06:57
阅读次数:
157
2..The Road to SDN 单词学习 翻译 Making computer networks more programmable enables innovation in network management and lowers the barrier to deploying new ...
分类:
Web程序 时间:
2020-01-02 22:43:11
阅读次数:
109
Vue的路由实现:hash模式 和 history模式hash模式:在浏览器中符号“#”,#以及#后面的字符称之为hash,用window.location.hash读取;特点:hash虽然在URL中,但不被包括在HTTP请求中;用来指导浏览器动作,对服务端安全无用,hash不会重加载页面。hash ...
分类:
其他好文 时间:
2020-01-01 23:21:21
阅读次数:
67