09 2022 档案
静态方法中使用@Autowired获取的非静态对象
摘要:private static OpProjectService opProjectService = (OpProjectService) ApplicationContextHolder.getContext().getBean(OpProjectService.class); 阅读全文
posted @ 2022-09-28 14:48 upupup-999 阅读(17) 评论(0) 推荐(0) 编辑
vue中过滤器不能接收data中数据解决办法
摘要:1.在data中定义一个属性that,把this存储到that中 data() { return { //过滤器拿到this对象 that: this, } } 2.在调用filters中的方法sum的时候将that传进去即可 <el-table-column label="原属产品" align= 阅读全文
posted @ 2022-09-26 11:28 upupup-999 阅读(1076) 评论(0) 推荐(0) 编辑




点击右上角即可分享
微信分享提示