- 博客(14)
- 资源 (3)
- 收藏
- 关注
原创 Windows 10——远程桌面无法复制粘贴问题解决方案
问题描述使用Windows 10系统远程桌面服务连接Windows Server 2012,无法通过复制粘贴进行文件交互。解决方案1.运行->mstsc->显示选项->本地资源TAB->本地设备和资源勾选剪切板->详细信息...勾选“驱动器”2.异常中断了某个进行中的复制粘贴操作。检查rdpclip.exe(RDP剪贴板监视程序)进程是否启用:远程连接Windows Server服务器任务管理器->查看进程->寻找r.
2020-08-30 13:33:35 13504 1
原创 大学阶段总结——大二
不自不觉读了一半大学了,对自己整体的大学生活还是比较满意的,但是大一结束时立的FLAG也很多没有完成。这次的总结依然一直拖着,是我太懒了。整个大二感觉自己挺空的,但是学习成绩依然还是相当于大一的水平,但是没有挂科。应该读完本科就就业了吧,说不定还是失业。对于各门课程,重理论的课程成绩都不太理想,但是重实践的课程成绩都比较好。有过考研的想法,但是了解考研具体考试科目以后,发现自己可能不太适合,再加上本校今年又专业课改408,毕业应该会直接就业吧。大一接手计算机协会,做了副会长,大二开学初负责干事与会员纳新事宜
2020-08-10 10:36:53 1185 1
原创 Vue——使用element-resize-detector监听DOM时ID重复时移除监听器时错误解决方案
问题描述解决方案1、修改ID修改DOM元素的id,使得id唯一。2、使用this.$el mounted() { this.$erd.listenTo(this.$el, (element)=>{ this.chart.resize(); }) }, beforeDestroy() { this.$erd.removeAllListeners(this.$el) },参考文章vue+element 监听某个div.
2020-08-08 22:32:25 1612
原创 Vue——全局element-resize-detector监听DOM元素
解决方案第一步:通过npm install element-resize-detector获取elementResizeDetectorMakernpm install element-resize-detector第二步:将依赖引入import elementResizeDetectorMaker from ‘element-resize-detector’import ElementResizeDetectorMaker from "element-resize-detector".
2020-08-08 16:06:14 8185 5
原创 echarts——父元素宽度100%,但canvas宽度100px
问题描述<template> <div id="chinaMapChart" style="width:100%;height:400px"></div></template>设置的width:100%,结果出来的时候就变成了100px;官方文档https://echarts.apache.org/zh/api.html#echarts问题分析echarts源代码:Painter.prototype._getWi..
2020-08-08 15:00:55 5711 1
原创 Vue + Element UI——监听DOM元素高度和宽度解决方案整理(八种方法)
问题描述监听DOM元素大小的变化,在前端开发中,算是一个比较常见的需求,比如我们要制作可伸缩的图表的时候,可能需要根据DOM大小的变化,进行动态的更新图表。解决方案方法一:监听window变化,再改变对应DOM变化window.onresize = function() { const width = getStyle(dom, 'width'); const height = getStyle(dom, 'height');}function getStyle(ele,at.
2020-08-08 14:29:15 17290
原创 Spring Security + WebSocket——@MessageMapping中Authentication为NULL解决方案之一
问题描述2020-08-06 15:55:53.988 ERROR 29260 --- [boundChannel-17] .WebSocketAnnotationMethodMessageHandler : Unhandled exception from message handler methodjava.lang.NullPointerException: null at cn.edu.zstu.shihua.xihu.controller.WebSocketControll..
2020-08-06 16:28:57 1829 3
原创 Vuex——使用namespace的store使用mapState获取state为undefined
问题描述使用namespace的store使用mapState获取state为undefined解决方案1....mapState中基于属性的访问...mapState({ searchInput: state => state.yourModuleName.searchInput, })2.在Vuex模块中使用namespace..........modules: {yourModuleName: { namespaced: true,......
2020-08-06 14:46:43 5652
原创 Mybatis Plus——AutoGenerator配置BaseResultMap(通用查询映射结果)和BaseColumnList(通用查询结果列)自动生成
问题描述BaseResultMap(通用查询映射结果)和BaseColumnList(通用查询结果列)配置繁琐。官方文档MyBatis-Plus 代码生成器自定义模板参数:https://gitee.com/baomidou/mybatis-plus/blob/3.0/mybatis-plus-generator/src/main/java/com/baomidou/mybatisplus/generator/engine/AbstractTemplateEngine.java问题.
2020-08-05 19:23:14 9160 3
原创 Mybatis Plus——以XML方式使用 Wrapper 自定义SQL时IDEA错误[**expected, got ‘${‘]解决方案
问题描述'(', ',', CROSS, FOR, GROUP, HAVING, INNER, INTO, JOIN, LEFT, LIMIT, LOCK, NATURAL, ORDER, PROCEDURE, RIGHT, STRAIGHT_JOIN, UNION, WHERE, WINDOW or '[' expected, got '${'官方文档https://mp.baomidou.com/guide/wrapper.html#使用-wrapper-自定义sql问题分
2020-08-03 20:01:03 5254 2
原创 Spring Boot——一种包含分页和排序参数的接收方法DEMO
Maven主要Maven依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> <exclusions> <exclusion>
2020-08-03 00:59:49 867
原创 七牛云——对象存储私有空间下载凭证认证失败401[“error“:“download token auth failed“]解决方案
问题描述官方文档对象存储>产品手册>安全机制>下载凭证:https://developer.qiniu.com/kodo/manual/1202/download-token解决方案1、SECRET_KEY不正确。SecretKey可在下面这地方获取:2、DownloadUrl不完整DownloadUrl需要包括协议://自定义域名[或者测试域名]/文件名DownloadUrl = 'http://78re52.com1.z0.g...
2020-08-02 23:56:23 3719
原创 JAVA——基于HttpClient的提交帆软FineReport报表爬虫DEMO
Maven <!--JSON--> <dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.58</version> </dependency>
2020-08-02 18:53:05 825
原创 Spring Security——认证失败时获取认证信息(用户名、密码、IP、SESSIONID)
源代码package cn.edu.zstu.shihua.xihu.listener;import cn.edu.zstu.shihua.xihu.model.Log;import cn.edu.zstu.shihua.xihu.service.ILogService;import cn.edu.zstu.shihua.xihu.service.IUserService;import com.baomidou.mybatisplus.core.conditions.query.Query.
2020-08-02 18:39:19 2015
C++课程设计-便利店管理系统.rar
2019-05-14
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人