本次做后台管理系统,采用的是 AntD 框架。涉及到图片的上传,用的是AntD的 upload 组件。 我在上一篇文章《AntD框架的upload组件上传图片时使用customRequest方法自定义上传行为》中讲到:AntD 的 upload 组件有很多坑,引起了很多人的关注。折腾过的人,自然明白 ...
分类:
Web程序 时间:
2020-06-11 16:50:08
阅读次数:
67
自己开发了一个股票智能分析软件,功能很强大,需要的点击下面的链接获取: https://www.cnblogs.com/bclshuai/p/11380657.html 1 Spring容器 Spring容器是Spring的核心,一切Spring bean都存储在Spring容器内,并由其通过IoC ...
分类:
其他好文 时间:
2020-06-11 12:03:13
阅读次数:
50
自己用到的,记录一下 1、效果图 2、弹层组件代码 a、js代码 1 // components/dialog/index.js 2 Component({ 3 options: { 4 multipleSlots: true 5 }, 6 properties: { 7 //高度 8 height ...
分类:
微信 时间:
2020-06-11 10:29:37
阅读次数:
82
半注解半xml配置的开发方式 把<bean> 属性注入<property>,使用注解方式的替换 替换bean的注解: @Component, 标记在类上, 表示把这个类,交给Spring管理, 除dao,service,web层之外的类 @Repository 用于注册DAO(持久层 ) @Serv ...
分类:
编程语言 时间:
2020-06-10 21:25:26
阅读次数:
81
部分简化后的代码如下: interface Iprops { roles: string; } export class Authorize extends React.Component<Iprops, any>{ renderDom() { const { roles, children } = ...
分类:
其他好文 时间:
2020-06-10 19:09:35
阅读次数:
78
router文件下的index.js文件 { path:'/home', name:'Home', meta:{title:'模块一'}, // props:true, // 表示在对应组件中可以使用props接收值 props:{ obj:{a:1,b:2} }, component: ( ) = ...
分类:
其他好文 时间:
2020-06-10 00:01:28
阅读次数:
100
常用注解★★★★★:注解本身没有功能的,就和 xml 一样。注解和 xml 都是一种元数据,元数据即解释数据的数据,这就是所谓配置。本文主要罗列 Spring|Spring MVC相关注解的简介。Spring部分1、声明bean的注解@Component 组件,没有明确的角色@Service 在业务... ...
分类:
编程语言 时间:
2020-06-09 23:25:39
阅读次数:
75
要实现的效果如图,点击发送验证码,文字变为60秒后重新发送,并且开始倒计时 这是写成一个组件格式component -> eidtPass.tsx import React, { useState } from 'react' import { Modal, Form, Input, notific ...
分类:
其他好文 时间:
2020-06-09 16:28:10
阅读次数:
173
1、xml文件声明注入 2、注解扫描 @ComponentScan @Component @Repository @Service 3、java配置方式 @Configuration @Bean 4、@Import 指定类型 @Import({HelloService.class}) public ...
分类:
编程语言 时间:
2020-06-09 16:22:33
阅读次数:
61
component、keep-alive、include、exclude、router-view ...
分类:
其他好文 时间:
2020-06-09 09:24:08
阅读次数:
65