摘要: 父组件给子组件传值方法,使用props 父页面:parent.vue: <template> <div class="sidebar_contianer"> <sidebar-item :routerData="transmitData"></sidebar-item> </div> </templ 阅读全文
posted @ 2020-12-10 22:44 图图小淘气_real 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 前言: 实体类和map相互转换,实体类需要有无参构造,不然会出现异常。 一:BeanUtils类来实现 pom: <dependency> <groupId>commons-beanutils</groupId> <artifactId>commons-beanutils</artifactId> 阅读全文
posted @ 2020-12-10 19:31 图图小淘气_real 阅读(6908) 评论(0) 推荐(0) 编辑
摘要: Less代码: @globalColor: #ececec; @property-color: color; @width: 300px; @color: red; .flex_row() { display: flex; justify-content: space-between; align- 阅读全文
posted @ 2020-12-10 16:38 图图小淘气_real 阅读(209) 评论(0) 推荐(0) 编辑