We have a message app: function App() { const messageDisplayRef = React.useRef() .... const scrollToTop = () => messageDisplayRef.current.scrollToTop( ...
分类:
其他好文 时间:
2020-07-21 21:29:26
阅读次数:
62
1、今日完成任务:(1)派车单登记功能修改 (2)派车单审核功能 2、核心源码: 1 #region 2 int iiiid = 0; 3 iiiid = operation.AddSendCar(num, company, linkMan, drivetime, beginAddress, Car ...
分类:
其他好文 时间:
2020-07-21 14:05:52
阅读次数:
79
直接贴代码: import React, { useState, useEffect, forwardRef } from 'react'; import { Upload, Icon, Modal, message } from 'antd'; import config from '@/conf ...
分类:
其他好文 时间:
2020-07-20 22:35:15
阅读次数:
141
/** Axios请求 * @Author: xuhong * @Date: 2020/6/19 * @DESC: //TODO */ import axios from 'axios'; import baseUrl from "./config"; import {Message} from ' ...
分类:
移动开发 时间:
2020-07-20 13:13:37
阅读次数:
127
feign调用出错都是这个报错,比较蛋疼 查看堆栈信息发现: 请求信息都拼接在url上了。当发送的信息多的时候就会报错。 解决办法。将信息放在body里面 1.feign接口: @PostMapping("/send_devices_info") void sendDevicesInfo(@Requ ...
分类:
其他好文 时间:
2020-07-20 13:07:20
阅读次数:
375
{"msg":"Could not marshal [ResultVo [code=100, result=null, message=ok, exception=null, data=null]]: null; nested exception is javax.xml.bind.MarshalException\n - with linked exception:\n[com.sun.istack.SAXException2: unable to marshal type \"com.domain.ResultVo\" as an element because it is missing an @XmlRootElement annotation]","errorcode":2}
分类:
其他好文 时间:
2020-07-20 11:05:43
阅读次数:
87
<%-- Created by IntelliJ IDEA. User: xinfeng Date: 2020/5/8 Time: 15:58 To change this template use File | Settings | File Templates. --%> <%@ page co ...
分类:
Web程序 时间:
2020-07-19 11:53:15
阅读次数:
84
工欲善其事,必先利其器。 什么是Celery Celery是一个简单、灵活且可靠的,处理大量消息的分布式系统,专注于实时处理的异步任务队列,同时也支持任务调度。 上面的图是一个利用Celery进行异步处理的架构,属于生产者-消费者模式,架构由三部分组成: 消息中间件(message broker): ...
分类:
其他好文 时间:
2020-07-19 00:54:19
阅读次数:
106
Given some segments of rope, you are supposed to chain them into one rope. Each time you may only fold two segments into loops and chain them into one ...
分类:
其他好文 时间:
2020-07-18 22:21:25
阅读次数:
73
五角星形线的笛卡尔坐标方程式可设为: r=10+(3*sin(θ*2.5))^2 x=r*cos(θ) y=r*sin(θ) (0≤θ≤2π) 根据这个曲线方程,在[0,2π]区间取一系列角度值,根据给定角度值计算对应的各点坐标,然后在计算出的坐标位置绘制一个填充色交替变换的小圆,从而得到沿五角星形 ...
分类:
编程语言 时间:
2020-07-18 22:09:40
阅读次数:
85