Can’t login: Connect to api.github.com:443 [api.github.com/13.250.168.23] failed: Connection refused: connect
1、用name和params传参(参数不会带在地址中,页面刷新参数会丢失) 对应路由配置 { path: '/detail', name: 'detail', component: detail } 跳转时传参 this.$router.push({ name: 'detail',// 页面名称 p ...
分类:
其他好文 时间:
2020-06-30 17:37:38
阅读次数:
67
1.创建一个 普通的viewController ,添加需要push的 UITabBarController /// 添加TabController的控制器 class JYJokerThroughRootController: JYBaseViewController { override fun ...
分类:
编程语言 时间:
2020-06-30 17:20:13
阅读次数:
75
push远程仓库遇到报错 remote: Invalid username or password. fatal: Authentication failed 1、首先配置用户信息 git config --global user.name [username] git config --globa ...
分类:
其他好文 时间:
2020-06-30 17:17:34
阅读次数:
49
这次进入微服务的部署,代码也基本都通过了。如果比做一首歌曲的话,前奏已经结束,现在开始我们的高潮部分,如果吧我们的服务使用docker,使用服务编排工具,把项目给部署运行起来。源码:https://github.com/limingios/msA-docker 注意 因docker话都是在linux ...
分类:
其他好文 时间:
2020-06-30 16:00:28
阅读次数:
68
/* 动态生成A-Z */function getEN(){ var arr = []; //定义数组 for(var i = 65; i < 91; i++){ arr.push(String.fromCharCode(i)); //ASKLL值对应的字符 } return arr.join(', ...
分类:
其他好文 时间:
2020-06-30 14:24:20
阅读次数:
43
1. 直接使用JSON.parse(JSON.stringify(Object))来进行缺点: 如果对象或者数组里有函数什么的, 就会出问题啦(也有解决办法) 2. 使用ES的扩展运算符...let newObj = { ...data }相当于 let newObj = Object.assign ...
分类:
Web程序 时间:
2020-06-30 12:42:32
阅读次数:
66
最近再做spring junit 做单元测试中,报 Failed to load ApplicationContext 错误。 import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.bea ...
分类:
移动开发 时间:
2020-06-30 12:38:56
阅读次数:
60
想利用 service mysql start 启动mysql数据库,但是发现出现错误: Failed to start mysql.service: Unit not found. 1、查询/etc/init.d/下是否存在mysql ll /etc/init.d/ | grep mysql 发现 ...
分类:
数据库 时间:
2020-06-30 11:00:02
阅读次数:
154
/usr/include/eigen3/Eigen/src/Core/util/StaticAssert.h:32: error: static assertion failed: YOU_MIXED_MATRICES_OF_DIFFERENT_SIZES #define EIGEN_STATIC_ ...
分类:
编程语言 时间:
2020-06-30 10:51:31
阅读次数:
95