自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(21)
  • 收藏
  • 关注

原创 node.js安装robot.js教程

【代码】node.js安装robot.js教程。

2022-11-10 17:12:23 1358 1

原创 Linux服务器云盘扩容后,系统上没有增加

Linux磁盘扩容

2022-06-17 16:56:52 1359

原创 websocket本地正常,部署到服务器连不上

线上连接错误解决方法:1.开放服务器端口2.用IP地址加端口连接websocket = new WebSocket(`ws://119.23.41.159:9985/api/bigdata`)

2022-02-14 10:43:40 6087 2

原创 java 通用方法封装

//获取时间差天数 private static int getDatePoor(Date endDate, Date nowDate) { Calendar cal = Calendar.getInstance(); cal.setTime(endDate); long time1 = cal.getTimeInMillis(); cal.setTime(nowDate); long time2 = cal.getTi

2021-02-01 14:01:33 267

原创 样式笔记

img图片标签加上display:block 就不会出现边距

2021-01-26 13:33:14 58

原创 Google地图开发

https://www.cnblogs.com/yincheng/p/google-map.htmlhttps://www.it1352.com/824678.html

2020-12-18 09:25:00 123

原创 v-html限制图片宽度

onShow() { const regex = new RegExp('<img', 'gi'); this.proContent= this.proContent.replace(regex, `<img style="max-width: 100%;"`);},

2020-12-08 10:31:40 1445

原创 Vue实现搜索关键字高亮显示

过滤的方法ruleTitle(titleString) { if (!titleString) { return ''; } if (this.searchName && this.searchName.length > 0) { // 匹配关键字正则 let replaceReg = new RegExp(this.searchName, 'g'); // 高亮替换v-html值 let replaceString = '<

2020-11-03 16:18:15 565

原创 vue实现关键词过滤-二级列表

搜索按钮search方法organizationList :人员列表searchMethod(list, val) { return list.filter(value2 => { return value2.name.match(val) })},search(e){ this.organizationList = this.organizationList.filter((value, index) => { if(this.searchMethod(value.us.

2020-11-02 18:13:57 380

原创 felx布局教程

垂直居中display: flex;align-items: center;

2020-10-20 14:59:41 266

原创 uniapp相册选择页国际化问题

目前官方给的uni.chooseImage()只能识别中文和英文plus.gallery.pick(res=>{ let images = [] images.push(res) that.$emit('chooseResult',images)},(err)=>{ that.$emit('chooseResult','cancel')},{ maximum: 1, multiple: false, filter:"image"});Gallery模块管理系统相册官方网

2020-09-30 11:24:54 650

原创 JS运算保留一位小数

**value.replace(/^(-)(\d+).(\d).$/,’$1$2.$3’);//保留一位小数**

2020-09-09 14:05:56 1578

原创 前端JS日期格式转换

日期格式转换 转换成 2020-09-01 12:00:00function time(time = +new Date()) { console.log(time) var date = new Date(time + 8 * 3600 * 1000); // 增加8小时 return date.toJSON().substr(0, 19).replace('T', ' ');}console.log(time(+new Date("2014-10-01 12

2020-09-04 11:30:04 1051

原创 uniapp实现六个格子输入框

<template> <view class="content"> <view class="pc_in"> <view class="pc_on"> <span class="g_hx"></span> <span class="g_hx"></span> <span class="g_hx"></span>

2020-08-03 17:16:23 2056

原创 最新版uni-app下input组件的focus属性的坑

<input focus type="text" />直接在input上写focus无效需要像下面这样用一个动态值来设置<input :focus="focus" type="text" />在移动端还有一个bug,就是键盘弹出瞬间又收起了需要延迟设置focus值mounted(){ setTimeout(() => { this.focus = this.isFocus }, 100) },...

2020-07-09 18:27:39 9814

原创 Cannot execute request on any known server

修改配置register-with-eureka: falsefetch-registry: false

2020-07-02 11:03:55 89

原创 Vue的几种展开收缩动画

一、 //需要动画的内容.router-slid-enter-active, .router-slid-leave-active {transition: all .4s;}.router-slid-enter, .router-slid-leave-active {transform: translate3d(0, 3rem, 0);opacity: 0;}二、创建ShrinkView.vue组件在其它页面引入该组件...

2020-06-23 21:04:56 2794

原创 display:flex布局下的子元素宽度无效

width: 120px;flex-shrink: 0;

2020-06-23 19:22:33 547 1

原创 react-router嵌套路由页面无法显示

在index.js配置一级路由在admin.js中配置二级路由会发现二级路由无法访问,是个空白页解决方法一级路由中 Admin路由里的exact属性要删掉

2020-05-31 21:43:19 3297 1

原创 SpringMVC报错:No converter found for return value of type

pom.xml添加依赖com.fasterxml.jackson.corejackson-databind2.9.5com.fasterxml.jackson.corejackson-annotations2.9.5springmvc.xml添加配置mvc:annotation-drivenmvc:message-converters</mvc:message-converters></mvc:annotation-driven>...

2020-05-09 10:00:56 167

原创 Failed to configure a DataSource: 'url' attribute is not specified and no embedded

在 SpringBoot 应用程序启动时,排除 jdbc 的自动装配机制即可,在程序入口文件中新增配置注解 “ exclude=DataSourceAutoConfiguration.class ” ,如下图:

2020-04-22 17:50:13 92

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除