会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Ghss-Qishi
博客园
首页
新随笔
联系
订阅
管理
2024年4月2日
前端可直接拿来用的代码(更新ing)
摘要: 1、清除浮动 双伪元素法(既解决外边距塌陷问题,又能清除浮动影响) .clearfix::before, .clearfix::after { content: ""; display: table; } .clearfix::after { clear: both;} 2、清除默认样式 * { m
阅读全文
posted @ 2024-04-02 16:16 器师
阅读(23)
评论(0)
推荐(0)
2024年3月5日
JS字符串、数组 常用方法
摘要: 字符串 字符串 增: 1、+拼接 2、concat() 例:let a = 'hello' let b = a.concat('word') console.log(b) // "hello world" 字符串 删: 1、slice(star,end) 从原始字符串中提取一个子字符串,并返回一个新
阅读全文
posted @ 2024-03-05 23:08 器师
阅读(281)
评论(0)
推荐(0)
2023年2月24日
设计模式
摘要: 23种设计模式: 创建型模式(5种):工厂方法模式、抽象工厂模式、单例模式、建造者模式、原型模式。 结构型模式(7种):适配器模式、装饰器模式、代理模式、外观模式、桥接模式、组合模式、享元模式。 行为型模式(11种):策略模式、模板方法模式、观察者模式、迭代子模式、责任链模式、命令模式、备忘录模式、
阅读全文
posted @ 2023-02-24 13:08 器师
阅读(25)
评论(0)
推荐(0)
2022年7月23日
开发默认加上的配置(更新ing)
摘要: 1、 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-configuration-processor</artifactId> <optional>true</optional></de
阅读全文
posted @ 2022-07-23 21:58 器师
阅读(54)
评论(0)
推荐(0)
SpringBoot常用注解(更新ing)
摘要: @ConfigurationProperties(prefix = "mycar"):组件(Car)跟配置文件的前缀绑定(mycar) @ResponseBody: 1、返回的数据是写给浏览器的,而不是跳转到某个页面 2、(SpringMVC):将 Java数据 转换为 响应信息 @RestCont
阅读全文
posted @ 2022-07-23 21:57 器师
阅读(66)
评论(0)
推荐(0)
解决Spring Initializr创建不了问题
摘要: 第一种解决方法:添加aliyun地址,将默认地址更改为aliyun地址 第二种解决方法:略 创建时出现:Artifact contains illegal characters 时
阅读全文
posted @ 2022-07-23 21:56 器师
阅读(200)
评论(0)
推荐(0)
2022年7月22日
常用的全局配置文件(application.yaml)(更新ing)
摘要: 前置路径 server: servlet: context-path: /world 以后所有的请求都必须以 /world开始 例:
阅读全文
posted @ 2022-07-22 10:39 器师
阅读(62)
评论(0)
推荐(0)
公告