会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
龙丶谈笑风声
博客园
首页
新随笔
联系
订阅
管理
2025年9月28日
el-tree树形搜索
摘要: 搜索结果:tree=tree?.map(item => ({ ...item, children: item.children?.filter(child => child.value.includes(serchName) ) ?? [] })) .filter(item => item.chil
阅读全文
posted @ 2025-09-28 14:18 龙丶谈笑风声
阅读(3)
评论(0)
推荐(0)
2025年7月31日
el-select下拉框滚动条触底加载数据方法
摘要: 创建一个js文件,例如directives.js import { nextTick } from 'vue'export const Loadmore = app => { app.directive('loadmore', { mounted: function(el, binding) { n
阅读全文
posted @ 2025-07-31 17:30 龙丶谈笑风声
阅读(105)
评论(0)
推荐(0)
2025年3月19日
记录winform中的HZHControls开源框架地址
摘要: https://gitee.com/kwwwvagaa/net_winform_custom_control#https://gitee.com/kwwwvagaa/net_winform_custom_control/blob/master/LICENSE https://www.hzhcontr
阅读全文
posted @ 2025-03-19 13:46 龙丶谈笑风声
阅读(18)
评论(0)
推荐(0)
2025年3月4日
vs2022 开发Cocos2d-x
摘要: 在官方网站下载Cocos2d-X(https://www.cocos.com/en/cocos2d-x) 然后下载python 最好是2.7版本 然后下载Cmake(https://cmake.org/download/) 将下载好的Cocos2d-X解压出来,打开cmd cd C:\cocos2d
阅读全文
posted @ 2025-03-04 11:37 龙丶谈笑风声
阅读(88)
评论(0)
推荐(0)
2025年2月27日
docker检测内存使用情况并记录日志
摘要: #!/bin/bash # 定义要监控的容器名称 CONTAINER_NAME="容器名称" while true;do # 检查容器是否存在 if ! docker ps -a --format '{{.Names}}' | grep -q "^${CONTAINER_NAME}$"; then
阅读全文
posted @ 2025-02-27 10:09 龙丶谈笑风声
阅读(29)
评论(0)
推荐(0)
自动检测docker停止后自动重启
摘要: #!/bin/bash # 定义要监控的容器名称 CONTAINER_NAME="容器名称" # 无限循环,持续监控容器状态 while true; do # 检查容器是否在运行 if ! docker ps --format '{{.Names}}' | grep -q "^${CONTAINER
阅读全文
posted @ 2025-02-27 10:06 龙丶谈笑风声
阅读(30)
评论(0)
推荐(0)
2025年1月5日
element plus中,el-date-picker禁用时间或者某一个时间或者某一段时间
摘要: :disabledDate=“disabledDate” const disabledDate=(date) => { const firstDayOfMonth = moment(date).date(1); // 获取该日期所在月份的1号 return date && date < moment
阅读全文
posted @ 2025-01-05 16:24 龙丶谈笑风声
阅读(655)
评论(0)
推荐(0)
2024年12月24日
拖拽改变div大小方法
摘要: const updateWidth = () => { let resize = document.getElementById("datatree"); let mainForm = document.getElementsByClassName("mainForm"); resize.onmou
阅读全文
posted @ 2024-12-24 13:37 龙丶谈笑风声
阅读(34)
评论(0)
推荐(0)
2024年4月18日
星火大模型C#调用实现
摘要: static ClientWebSocket webSocket0; static CancellationToken cancellation; // 应用APPID(必须为webapi类型应用,并开通星火认知大模型授权) const string x_appid = "xxxxx"; // 接口
阅读全文
posted @ 2024-04-18 17:46 龙丶谈笑风声
阅读(390)
评论(0)
推荐(0)
kimi AI web Api接口对接代码实现
摘要: /// <summary> /// kimi的对接方法 /// </summary> public async void GetHttpRequst() { var _httpClient= new HttpClient(); var _apiUrl= "https://api.moonshot.c
阅读全文
posted @ 2024-04-18 15:41 龙丶谈笑风声
阅读(1513)
评论(0)
推荐(0)
下一页
公告