05 2021 档案
Element dialog实现拖拽功能
摘要:1,建立directives.js文件。 import Vue from 'vue'; // v-dialogDrag: 弹窗拖拽属性 Vue.directive('drag', { bind(el, binding, vnode, oldVnode) { const dialogHeaderEl 阅读全文
posted @ 2021-05-30 08:10 sunylat 阅读(761) 评论(1) 推荐(0)
JAVA - springboot整合mybatis mapper注入时报错could not autowire 的解决方法!!
摘要:错误位置:实现service类中,加载mapper时候。 解决方法:用@Resource注解替换@Autowired 这两种注解的差别: @Autowired与@Resource都可以用来装配bean. 都可以写在字段上,或写在setter方法上。 @Autowired默认按类型装配(这个注解是属于 阅读全文
posted @ 2021-05-15 21:36 sunylat 阅读(653) 评论(0) 推荐(0)