09 2023 档案
摘要:springboot2.7 java8 问题 在使用工厂模式封装service时,需要通过service的class获取其类型注解,但是有些工厂类可以取到annotation注解,有些取不到 渠道注解: /** * xxx渠道注解 * */ @Target({ElementType.TYPE}) @
阅读全文
摘要:由于有些业务组件需要定义多个响应式props,类似这种(比较懒,没上ts),在vue3.3.x以前,如果不用三方库,代码会变得很繁琐 <script setup> const props = defineProps({ modelValue: { type: Object, default: ()
阅读全文