摘要: 使用ant design vue的select组件时 下拉菜单选项随body滚动而滚动 解决方案 :getPopupContainer="()= document.getElementById('category select')" :dropdownStyle="{zIndex:10,TextAl 阅读全文
posted @ 2019-08-28 11:50 Carousel 阅读(1698) 评论(0) 推荐(0) 编辑
摘要: 设计模式 单例模式 在Java设计模式中,单例模式相对来说算是比较简单的一种构建模式。适用的场景在于:对于定义的一个类,在整个应用程序执行期间只有唯一的一个实例对象。 主要实现方式包括饿汉式、懒汉式;懒汉式需要注意线程安全问题。 核心是理解synchronize和volatile关键字。 阅读全文
posted @ 2018-09-21 22:31 Carousel 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 1、去官网下载MySQL,https://dev.mysql.com/downloads/mysql/5.6.html#downloads 选择redhat6 64bit 下载rpm bundle 2、将文件拷贝到centos,解压 tar -xvf MySQL-5.6.39-1.el6.x86_6 阅读全文
posted @ 2018-04-02 11:06 Carousel 阅读(183) 评论(0) 推荐(0) 编辑
摘要: Given a linked list, remove the nth node from the end of list and return its head. For example, Note:Given n will always be valid.Try to do this in on 阅读全文
posted @ 2017-10-31 10:09 Carousel 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 转自 http://www.cnblogs.com/yuyijq/p/3424473.html 在Zookeeper的官网上有这么一句话:ZooKeeper is a centralized service for maintaining configuration information, nam 阅读全文
posted @ 2017-09-29 16:54 Carousel 阅读(186) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h>#include <stdlib.h>#include <string.h>#include <stdbool.h>typedef struct{char username[20];char sex[10];long int usernum;int passwor 阅读全文
posted @ 2016-12-20 10:16 Carousel 阅读(112) 评论(0) 推荐(0) 编辑