上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 124 下一页
摘要: config.headers['Pragma'] = 'no-cache';// 解决id缓存 或 const baseRequest = (config) => { config.headers = { Pragma: 'no-cache', ...authHeader() } export de 阅读全文
posted @ 2020-09-24 14:01 ThisCall 阅读(188) 评论(0) 推荐(0) 编辑
摘要: <!-- Vue SFC --> <template> <div class="h overflow"> <div class="new-header clearfix bxs"> <div class="header-item header-lf h cupo" @click="backFn"> 阅读全文
posted @ 2020-09-23 19:10 ThisCall 阅读(436) 评论(0) 推荐(0) 编辑
摘要: // 删除 deleteSelectItem() { let multiSelect = this.multiSelect; let tableData = this.tableData; this.tableData = tableData.filter( (item) => !this.mult 阅读全文
posted @ 2020-09-22 18:45 ThisCall 阅读(309) 评论(0) 推荐(0) 编辑
摘要: 当前页面 Vue如何获取当前页面的url,获取路由地址 完整url可以用 window.location.href路由路径可以用 this.$route.path路由路径参数 this.$route.params 例如:/user/:id → /user/2044011030 → this.$rou 阅读全文
posted @ 2020-09-22 18:43 ThisCall 阅读(1247) 评论(0) 推荐(0) 编辑
摘要: 当前页面跳转网页,新打开和在本页面打开 替换原页面: window.location.href=""; 新打开一个页面: window.open(''); 阅读全文
posted @ 2020-09-22 16:55 ThisCall 阅读(1818) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-09-22 12:05 ThisCall 阅读(651) 评论(0) 推荐(0) 编辑
摘要: <head> <meta charset="utf-8"> <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate"/> <meta http-equiv="Pragma" content="no-c 阅读全文
posted @ 2020-09-20 17:11 ThisCall 阅读(1091) 评论(0) 推荐(0) 编辑
摘要: 避免版本升级浏览器缓存文件的问题 阅读全文
posted @ 2020-09-20 16:32 ThisCall 阅读(1254) 评论(0) 推荐(0) 编辑
摘要: https://www.jb51.net/article/176198.htm 阅读全文
posted @ 2020-09-18 18:18 ThisCall 阅读(734) 评论(0) 推荐(0) 编辑
摘要: IE网页被缓存,页面不及时刷新问题解决 IE会对Ajax的get请求进行缓存,进行get请求时,如果两次请求的URL完全相同,浏览器会显示缓存的页面。这时可以在URL中加入参数&t=new Date().getTime()。这样每次访问的URL不同,可以避免网页被缓存,网页即时刷新。 阅读全文
posted @ 2020-09-18 14:49 ThisCall 阅读(373) 评论(0) 推荐(0) 编辑
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 124 下一页