题目: public class Out{ public void somOutMethod(){ //Line 3 } public class Inner{} public static void main(String[] args){ Out o = new Out(); //Line 8 ...
分类:
其他好文 时间:
2020-05-19 00:24:34
阅读次数:
63
https://www.jianshu.com/p/7a41f0294f32 人生如逆旅,我亦如行人 本篇教程将大家Haproxy+Keepalived集群,主机规划可以参考我的这一篇文章搭建高可用Kubernetes集群之etcd集群搭建篇(一) Keepalived简介 说到Keepalived ...
分类:
Web程序 时间:
2020-05-18 16:12:48
阅读次数:
111
git status git add . git commit -m "add routert" git pull origin master $ git push -u origin master ...
分类:
其他好文 时间:
2020-05-17 22:02:58
阅读次数:
78
默认就是启动处理的,所以不需要做什么Enable的引入。配置上代码就可以用。 id就是给route起名字。就是给某个router起名字。 表示我们这里有这样一个路径。如果这个路径是以jiangzh为开头,斜线什么什么东西的时候,它就会转到我们的uri上,这其实就是个路由的信息。 配置端口号 起个ap ...
分类:
其他好文 时间:
2020-05-16 00:41:11
阅读次数:
59
Vue 的路由 前端路由:对于单页面应用程序来说,主要通过URL中的hash( 号)来实现不同页面之间的切换,同时hash有一个特点: HTTP请求中不会包含hash相关的内容;所以,单页面程序中的页面跳转主要用hash实现。 Vue Router的基本使用 路由传参 1. 通过query方式传参 ...
分类:
其他好文 时间:
2020-05-16 00:13:15
阅读次数:
67
1 package test_13_3; 2 3 public class Outer { 4 5 public Outer() { 6 7 System.out.println("this is Outer"); 8 } 9 10 class Inner { 11 12 public Inner( ...
分类:
编程语言 时间:
2020-05-16 00:12:01
阅读次数:
77
1 package test_13_2; 2 3 public class Outer { 4 5 private String str; 6 7 public Outer() { 8 9 } 10 11 public Outer(String str) { 12 13 this.str = str ...
分类:
编程语言 时间:
2020-05-15 22:56:38
阅读次数:
82
今天使用pip安装第三库时,有时会报错: pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. 使用 ...
分类:
编程语言 时间:
2020-05-15 13:38:19
阅读次数:
92
1.安装 npm install -g @vue/cli 2.查看版本 vue -V 3.创建项目 vue create test 4.选择配置项(默认和手动) 这里对选择手动配置的一些说明 Bable(javaScript编译器) TypeScript(javaScript超集) Progress ...
分类:
其他好文 时间:
2020-05-14 10:47:44
阅读次数:
562
1、npm run build打包,dist的index是空白页 问题一:assetsPublicPath配置错误 解决方法:修改config/index.js文件 问题二:路由history模式配置有误 export default new Router({ // mode: 'history', ...
分类:
其他好文 时间:
2020-05-13 16:52:20
阅读次数:
78