会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
document.write("");
tbUoky
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
8
9
10
11
12
13
14
15
16
···
20
下一页
2023年8月1日
Android Studio 项目已经sync完成,但是在布局中显示:Design editor is unavaliable until after a sunncessful project sync
摘要: 原因:在drawable文件夹中新增了一个png图标 解决:同步在drawable-v24文件中复制一份即可
阅读全文
posted @ 2023-08-01 11:32 人间春风意
阅读(502)
评论(0)
推荐(0)
2023年7月19日
el-form 自定义验证规则,手动触发某项验证
摘要: 1. ui <el-form ref="xXXForm" :rules="XXXFormRules" > <el-form-item label="图片" prop="xxx"> </el-form-item> </el-form> 2. 变量初始化 export default { data()
阅读全文
posted @ 2023-07-19 17:16 人间春风意
阅读(1708)
评论(0)
推荐(0)
2023年7月5日
maven 网关应用:[NACOS ConnectException httpPost] currentServerAddr: http://localhost:8848,
摘要: 网关应用运行忽然报错:[NACOS ConnectException httpPost] currentServerAddr: http://localhost:8848, 虽然调整了代码逻辑,但是nacos的配置没有变更过,之前也还能正常跑, 网上查了一些,有说是配置优先级的问题,说是Nacos默
阅读全文
posted @ 2023-07-05 09:35 人间春风意
阅读(563)
评论(0)
推荐(0)
2023年6月30日
阿里云 ACK Pod重启:pod was OOM killed
摘要: 原因为:limits和requests的值设定为一样的了, pod request达到了limit限制,kubelet会统计到request+缓存就超限,然后触发自动重启 resources: limits: memory: 4Gi requests: memory: 4Gi 调整为 resourc
阅读全文
posted @ 2023-06-30 10:47 人间春风意
阅读(539)
评论(0)
推荐(0)
2023年6月1日
android ImageView 设定宽度铺满,高度自定义
摘要: 问题:imageView 宽度铺满,高度自定义,会出现上下留白的现象(一般比例的还好) 解决: <xxx.xxx.xxx.xxx.FullWidthImageView android:id="@+id/iv_image_corp" android:layout_width="match_parent
阅读全文
posted @ 2023-06-01 13:23 人间春风意
阅读(395)
评论(0)
推荐(0)
mysql where 字符串根据英文逗号分割为数组 并判断是否包含指定字符串
摘要: SELECT * FROM table_name where FIND_IN_SET('A',column_1) or FIND_IN_SET('B', column_2) table_name : 表名 column_1: 要查询的列,其值范例为:A,B,C column_2:同上 注意:FIND
阅读全文
posted @ 2023-06-01 09:04 人间春风意
阅读(393)
评论(0)
推荐(0)
2023年5月26日
BooleanBuilder 如何根据自定义列名 模糊查询 使用PathBuilder
摘要: // 动态传参 // 1. 声明 PathBuilder:MyTable 为类名称,"myTable" 为首字母小写后的类名 PathBuilder<MyTable> path = new PathBuilder<>(MyTable.class, "myTable"); // 2. 判断查询的列的名
阅读全文
posted @ 2023-05-26 15:00 人间春风意
阅读(167)
评论(0)
推荐(0)
2023年5月12日
springboot 大文件切片上传
摘要: 1. 前端(vue element ui & 原生) 初始变量声明: currentFile: {}, // 当前上传的文件 bigFileSliceCount: 20, // 大文件切片后的子文件数量(也可使用其它限定方式,如按照文件大小,每10MB切一片,此处采用的是固定切片的子文件数量的方式倒
阅读全文
posted @ 2023-05-12 09:22 人间春风意
阅读(422)
评论(0)
推荐(0)
2023年5月11日
mysql: Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column
摘要: mysql workbench 执行 批量update失败,报错1175 update table_name set column = xxx where id in ( select id from table_name where column1= 'xxx') 解决:先执行SET SQL_SA
阅读全文
posted @ 2023-05-11 16:27 人间春风意
阅读(133)
评论(0)
推荐(0)
2023年5月9日
html 跳转到新的网址
摘要: 更新window.location.href后面的值即可 文件名为 index.html <!DOCTYPE html> <html> <head> <meta charset='utf-8'> <meta http-equiv='X-UA-Compatible' content='IE=edge'
阅读全文
posted @ 2023-05-09 08:54 人间春风意
阅读(352)
评论(0)
推荐(0)
上一页
1
···
8
9
10
11
12
13
14
15
16
···
20
下一页
公告