logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

@Configuration 和@ComponentScan注解

@Configuration 和@ComponentScan注解其实很简单,@ComponentScan告诉Spring 哪个packages 的用注解标识的类 会被spring自动扫描并且装入bean容器。例如,如果你有个类用@Controller注解标识了,那么,如果不加上@ComponentScan,自动扫描该controller,那么该Controller就不会被spring扫描到,更不会

element UI中表格的数据需要做判断

从数据库中拿到数据,如拿到1,2。想变成男,女放入表单中html文件                               ref="multipleTable"                    :data="bsBuses"                    tooltip-effect="dark"                    sty

vue 表格根据日期排序

 <el-table                ref="multipleTable"                :data="数据名"                @sort-change="orderByDate"                tooltip-effect="dark" 

vue echarts 负坐标轴显示正数与正坐标轴对称

xAxis : [{type : 'value',axisLabel:{formatter: function (data) {return (Math.abs(data));}}}],series : [ { name:'iO...

springboot(2.0) mybatis 多数据源配置

mybatis 多数据源配置github:mybatis多数据源配置项目名:springboot-mybaits-mulidata注意事项:重点:多数据源配置时,要指定一个数据源为主数据源并使用@Primary注解@MapperScan(basePackages)指定mapper文件的位置和SqlSessionFactory中指定xml文件的位置dataSource配置顺序...

到底了