摘要: 高版本数据库不能按照grant all privileges on *.* to "root"@"%" identified by "xxxx";去修改用户权限 mysql> grant all privileges on *.* to 'yuan'@'%' with grant option; Q 阅读全文
posted @ 2022-01-28 13:41 TIFOSI_Z 阅读(785) 评论(0) 推荐(0) 编辑
摘要: #centos8更新pippip3 install --upgrade pip 阅读全文
posted @ 2022-01-27 09:53 TIFOSI_Z 阅读(16) 评论(0) 推荐(0) 编辑
摘要: #添加用户密码sudo passwd sudo vim /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf#在50-unity-greeter.conf中添加 greeter-show-manual-login=true sudo vim 阅读全文
posted @ 2022-01-22 12:49 TIFOSI_Z 阅读(58) 评论(0) 推荐(0) 编辑
摘要: 一、监听路由 watch: { // 方法1 //监听路由是否变化 '$route' (to, from) { if(to.query.id !== from.query.id){ this.id = to.query.id; this.init();//重新加载数据 } } } //方法 2 设置 阅读全文
posted @ 2022-01-16 13:36 TIFOSI_Z 阅读(3280) 评论(0) 推荐(0) 编辑
摘要: Application启动类添加注解 @EnableOpenApiapplication.yml配置如下 swagger: enabled: false 配置类 @Configurationpublic class SwaggerConfig { @Value("${swagger.enabled} 阅读全文
posted @ 2022-01-12 10:13 TIFOSI_Z 阅读(143) 评论(0) 推荐(0) 编辑
摘要: let: 1.不支持变量声明预解析 2.支持块作用域 3.不允许重复声明 const: 1.不支持变量声明预解析 2.支持块作用域 3.不允许重复声明 4.常量 扩展运算符: ... 把数组/对象转成参数序列(使用逗号分割的序列) ['a','b','c'] => 'a','b','c' {left 阅读全文
posted @ 2022-01-09 19:40 TIFOSI_Z 阅读(15) 评论(0) 推荐(0) 编辑
摘要: #安装前提 #各个机器设置自己的域名 hostnamectl set-hostname xxxxxxxx ##SELinux设置为permissive模式(相当于将其禁用) sudo setenforce 0 //临时禁用 sudo sed -i 's/^SELINUX=enforcing$/SEL 阅读全文
posted @ 2022-01-05 00:14 TIFOSI_Z 阅读(22) 评论(0) 推荐(0) 编辑
摘要: #查看镜像docker images#修改容器内容##容器内部修改 docker exec -it 容器id /bin/bash:##挂载数据到外部修改 :ro只读 :rw读写 ***注意保证主机中目录内文件不为空docker run --name=mynginx -d --restart=alwa 阅读全文
posted @ 2022-01-04 22:22 TIFOSI_Z 阅读(46) 评论(0) 推荐(0) 编辑
摘要: pom.xml <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.3.12.RELEASE</version> <re 阅读全文
posted @ 2022-01-01 01:29 TIFOSI_Z 阅读(680) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-01-01 01:14 TIFOSI_Z 阅读(2005) 评论(0) 推荐(0) 编辑