- 博客(106)
- 资源 (1)
- 收藏
- 关注
原创 在使用ubuntu18.04的时候使用阿里源或者清华源后安装mysql5.7时出现dpkg提示的错误信息
在使用ubuntu18.04的时候使用阿里源或者清华源后安装mysql5.7时出现dpkg提示的错误信息
2023-11-09 16:21:39 309
原创 Invalid bound statement (not found) 解决方法。
Invalid bound statement (not found):
2023-11-01 10:50:11 63
原创 SpringBoot项目把Mysql从5.7升级到8.0
MySQL8 MySQL5.7Cause: java.sql.SQLSyntaxErrorException: Expression #2 of SELECT list is not
2023-10-23 11:48:38 711
原创 MySQL 查询 JSON字段匹配
MySQL从5.7版本开始,引入了JSON类型字段,这使我们可以在MySQL数据库中存储JSON格式的数据,并保留其对象格式,再也不用转成字符串类型保存了,减少了许多字符串类型和对象类型之间的转换步骤。而同时也会衍生出,查询时如何筛选出与JSON字段内容相匹配的数据问题,那么接下来,我们就看看面对不同格式的JSON数据,都有哪些查询匹配方式。数据准备数据库结构– 创建表数据库表和数据都已经准备好了,分别是数组类型的JSON和对象类型的JSON下面就针对这两种数据类型,做查询筛选操作左侧参数column
2023-04-01 13:44:28 975 1
原创 vue3.0添加typescript
vue3.0添加typescript。Error: Cannot find module '@vue/cli-service/generator/template/src/App.vue'
2023-01-30 09:50:07 340
原创 Vue项目中 使用 Iframe子页面 给 Vue父级页面传数据(js清除 addEventListener监听事件)
【代码】Vue项目中 使用 Iframe子页面 给 Vue父级页面传数据(js清除 addEventListener监听事件)
2022-12-29 19:45:47 504
原创 com.alibaba.fastjson.JSONObject cannot be cast to com.ruoyi.ezviz.domain.***
List<EquipmentVo> data = JSON.parseArray(result.getString("data"), EquipmentVo.class);
2022-04-18 09:46:15 543
原创 查询本周所有的数据(本周第一天是周一)
查询本周所有的数据(本周第一天是周一)SELECT * FROM task WHERE YEARWEEK(date_format(时间字段,'%Y-%m-%d'),1) = YEARWEEK(now(),1);查询本周所有的数据(本周第一天是周日)SELECT * FROM task WHERE YEARWEEK(date_format(时间字段,'%Y-%m-%d')) = YEARWEEK(now()); ...
2022-04-10 11:29:05 993
原创 位、比特(bit)、字节(byte)、字(个人理解为汉字)
位-也称为比特(bit)位是计算机存储的最小单位,简记为b,也称为比特(bit)计算机中用二进制中的0和1来表示数据,一个0或1就代表一位。位数通常指计算机中一次能处理的数据大小;字节(byte)字节,英文Byte,是计算机用于计量存储容量的一种计量单位,通常情况下一字节等于八位,字节同时也在一些计算机编程语言中表示数据类型和语言字符,在现代计算机中,一个字节等于八位;字字是表示计算机自然数据单位的术语,在某个特定计算机中,字是其用来一次性处理事务的一个固定长度的位(bit)组,在现代计
2022-03-10 16:12:45 2626
原创 vue3.0单独引入路由
下载依赖npm install vue-router@next --save新建routes.tsimport {createRouter,createWebHashHistory} from 'vue-router'const router = createRouter({ "history":createWebHashHistory(), routes:[ { path: '/', name: 'aaa',
2022-03-02 09:22:11 609
原创 vue3.0+ts 关闭Eslint 代码验证
首先先卸载 eslintnpm uninstall eslint --save然后再package.json 中删除
2022-03-01 13:57:06 2840 1
原创 vue3.0 集成TypeScript
第一步引入依赖 vue add typescriptstill proceed // 是否继续 YUse class-style component syntax? //是否使用class-style NUse Babel longside TypeScript.... //是否使用Babel(把高级语法转换成低级语法) YConver all .js files to .ts //是否吧所以的.js文件变成 .ts 文件 YAllow .js file to be com
2022-02-25 15:17:54 354
原创 vue2.0 非父子组件(爷孙传参) 注:不是响应式的
爷爷组件<template>{{title}} <button @click="setTitle">改变title</button> <br> <Son /></template><script>import Son from "./components/Son"export default { components:{ Son }, //下面两种方式 要是穿对象的话就得用r
2022-02-25 14:29:46 393
原创 vue使用SM4加密
安装npm install gm-crypt 引用const SM4 = require('gm-crypt').sm4let sm4Config = { key: 'KacLKDJkljasf89f', mode: 'cbc', // default iv: 'JSLKJFJLKFsdfass', // default is null // optional: this is the cipher data's type; Can be 'base64' or '
2022-02-15 09:10:47 5811
原创 jq 图片上传用流的方式
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Do
2022-02-14 14:09:45 444
原创 vue input 输入 防抖
<template> <input @keyup="aaa" v-model="val" /> <ul> <li v-for="(item,index) in list" :key="index">{{item.q}}</li> </ul></template><script> export default { data() {
2022-02-06 20:24:08 1092 3
原创 svn提交时把node_modules忽略掉
svn提交时把node_modules忽略掉空白处右键>选中TortoiseSVN>设置(settings)>常规设置(General)>Subversion>编辑(edit)>在弹出的config文件中找global-ignores,复制一行下来,去掉global-ignores前的#。如果是"文件夹" global-ignores = *node_modules如果是文件global-ignores = .project .git中间用空格隔开.
2022-01-26 09:12:17 3374
原创 Java国密算法加密
import cn.hutool.core.codec.Base64;import cn.hutool.core.util.CharsetUtil;import cn.hutool.crypto.Mode;import cn.hutool.crypto.Padding;import cn.hutool.crypto.symmetric.SM4;import cn.hutool.crypto.symmetric.SymmetricCrypto;/** * sm4加密算法工具类 * *...
2022-01-20 18:04:09 3430 3
原创 TypeError: Class extends value undefined is not a constructor or null
根据报错可得是mini-css-extract-plugin这个插件有问题,于是去这个插件npm官网看了一下,解决方法有两种:第一种是安装这个插件:npm install --save-dev mini-css-extract-plugin //在项目开发依赖中安装第二种是升级webpack版本(如果无效可以先卸载,再安装)npm install webpack -g // 全局安装npm install webpack --save-dev //在项目开发依赖中安装...
2022-01-13 14:51:33 4728
原创 修改Ant Design组件库里面的内置样式
首先你的项目需要引入less要在你修改的clss 外加上一层 :global{} 就可以修改了 <style lang="less"> :global { .ant-row { margin-bottom: 30px } }</style>
2022-01-12 11:18:25 1037
原创 uni-app 设置@ 路径别名
一、 vue 创建配置文件 vue.config.js uni-app官方文档支持情况CLI 工程HBuilderX 2.1.5 及以上版本注意事项部分配置项会被编译配置覆盖,例如:publicPath 不支持,如果需要配置,请在 manifest.json->h5->router->base 中配置,参考文档:h5-routeroutputDir 不支持assetsDir 固定 staticpages 不支持runtimeCompiler 固定 falsep.
2021-12-30 14:16:28 10528
原创 微信公众分享到朋友圈(Java+js)
直接上干货1. 首先你需要有一个可以访问的外网IP(需要和域名绑定(这个绑定就是域名解析。)) 直接Java代码package org.jeecg.modules.wx.controller;import com.alibaba.fastjson.JSONObject;import io.micrometer.core.instrument.util.StringUtils;import io.swagger.annotations.Api;import org.jeecg.common.a
2021-12-30 10:39:54 491
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人