上一页 1 2 3 4 5 6 7 8 9 10 ··· 21 下一页
摘要: 1. 刷新远程分支的命令行:git remote update origin -p 2. 获取远程分支,需要切换:git fetch origin branch_name3. 指定远程分支,便于git pull git push ,使用 git branch --set-upstream-to=or 阅读全文
posted @ 2020-08-07 16:37 Panax 阅读(1227) 评论(0) 推荐(0) 编辑
摘要: 解决办法: git config --system --unset credential.helper 此后又会重复让输入账号,密码,很烦,然后: git config --global credential.helper store 输入账号密码,下次就不会让重复输入了。 阅读全文
posted @ 2020-08-07 16:32 Panax 阅读(1028) 评论(0) 推荐(0) 编辑
摘要: 当web缓存发现请求的资源,浏览器拦截请求,返回该资源的拷贝,而不会去源服务器重新下载。 优点:缓解服务器端压力,提升性能(减少网页加载速度)提高用户体验。 浏览器缓存有两种方式:强缓存和协商缓存。 请求资源时浏览器怎么知道是强缓存还是协商缓存? 用户首次请求并获取到该资源后,根据返回的信息来告诉如 阅读全文
posted @ 2020-07-29 14:17 Panax 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 请求服务器时,服务器会向请求的浏览器返回一个包含http状态码的信息头用以响应浏览器的请求。 常见的http状态码: 1. 200 请求成功 2. 301资源被永久转移到其他Url 3. 404请求的资源(网页等不存在) 4.500 内部服务器错误。 分为五类: 1. 开头: 服务器收到请求,需要请 阅读全文
posted @ 2020-07-29 11:50 Panax 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 不知不觉间已经写了这么多博客了,虽然只是记录一下研究的学习历程,看到这么多阅读量,内心还是满满的成就感。前几个月比较忙,写的很少。 阅读全文
posted @ 2020-07-29 11:40 Panax 阅读(146) 评论(0) 推荐(0) 编辑
摘要: "use strict"; import axios from "axios"; import router from "../router"; import { base } from "./baseUrl"; let _this = this; axios.interceptors.reques 阅读全文
posted @ 2020-07-28 19:50 Panax 阅读(3185) 评论(0) 推荐(0) 编辑
摘要: goWx() { this.navigate(); // 此方法针对H5 的返回键,对左上角点击无效, 无法添加点击事件,放到mounted 会无限循环。 }, navigate() { //控制页面跳转 小程序、公众号、非微信跳转方式 【modelName vue路由名字】 this.isMini 阅读全文
posted @ 2020-07-28 18:56 Panax 阅读(4412) 评论(0) 推荐(0) 编辑
摘要: onkeyup="value=value.replace(/[^\d{1,}\.\d{1,}|\d{1,}]/g,'').replace('.','$#$').replace(/\./g,'').replace('$#$','.').replace(/\.{2,}/g,'.').replace(/^ 阅读全文
posted @ 2020-06-10 14:34 Panax 阅读(3163) 评论(0) 推荐(1) 编辑
摘要: arr = Object.prototype.toString.call(val.leadGrade) if(arr !=='[object Number]'){ val.leadGrade = 0 ; } 阅读全文
posted @ 2020-05-29 10:33 Panax 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 一开始设置的是: .menuLeft .el-menu-item:hover{ background: #6db6ff !important; } .menuLeft .el-submenu__title:hover { background: #6db6ff !important; } 但它只是h 阅读全文
posted @ 2019-12-04 15:56 Panax 阅读(16550) 评论(2) 推荐(1) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 21 下一页