- 博客(4)
- 收藏
- 关注
原创 兼容IE10+ excel导出/下载功能(Blob)
此段代码只能兼容IE10以上Blob处理,IE10以下不兼容哦 const fileName = 'xxxx.xls' const blob = new Blob([response.data]) //兼容ie处理 for IE10+ if (window.navigator && window.navigator.msSaveOrOpenBlob) { windo
2021-08-14 16:37:30
345
原创 关于vue-admin-beautiful框架 路由返回的处理
框架的路由处理放在了vuex中路径:src\store\modules\tabsBar.js//1.调用全局挂载vuex中的方法,关闭当前标签页//tabsBar/delVisitedRoute 是tabsBar.js 文件 mutations 里面的delVisitedRoute方法 this.$store.dispatch('tabsBar/delVisitedRoute', this.$route)//2.返回上一页this.$router.go(-1)tabsBar.js .
2021-08-09 11:07:10
889
原创 模拟后台接收短信验证码
struts2 Action中 //模拟生成6为随机验证码 public String createCode(){ String code=null; Random random=new Random(); int[] rand=new int[6]; int randInt = 0; String randStr=""; String temp; for
2016-05-24 13:07:06
4657
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人