08 2024 档案

摘要:微信小程序报:For developer:Two-way binding does not support complex data paths currently. This two-way binding is ignored. 翻译过来是:对于开发人员:双向绑定目前不支持复杂的数据路径。这种双 阅读全文
posted @ 2024-08-27 10:39 ziff123 阅读(208) 评论(0) 推荐(0) 编辑
摘要:一、定义获取html的js方法 StringBuilder sb = new StringBuilder(); sb.AppendLine("function tempFunction() {"); //sb.AppendLine(" return document.body.innerHTML; 阅读全文
posted @ 2024-08-26 14:20 ziff123 阅读(56) 评论(0) 推荐(0) 编辑
摘要:1、新建winform 项目.net frame4.8 2、nuget安装CefSharp.WinForms 版本84.4.10 3、debug模式修改为x86(重要) 4、初始浏览器 #region 初始化浏览器 /// <summary> /// 初始化浏览器 /// </summary> pr 阅读全文
posted @ 2024-08-26 09:41 ziff123 阅读(270) 评论(0) 推荐(0) 编辑
摘要:1、命令 find . -type f -exec chmod +x {} \; 解释: . 表示当前文件夹。 -type f 表示只查找文件,不包括目录。 -exec 后面跟的是对查找到的每个文件要执行的命令,这里是 chmod +x 添加执行权限。 {} 是一个占位符,代表找到的文件名。 \;  阅读全文
posted @ 2024-08-16 18:01 ziff123 阅读(1044) 评论(0) 推荐(0) 编辑
摘要:1、安装、安装不了的时候使用手机热点 npm install mina-request 2、构建npm 3、使用 import WxRequest from 'mina-request' import {getStorage,clearStorage,setStorage} from './stor 阅读全文
posted @ 2024-08-13 22:18 ziff123 阅读(342) 评论(0) 推荐(0) 编辑
摘要:需求:vue动态添加大段html代码片段 方案:1、先写好Html代码片段 2、定义一个数组[] 3、定义一个方法,动态添加或删除数组元素 4、第一步定义的Html代码片段最外层加v-for 循环第二步定义的数组 阅读全文
posted @ 2024-08-13 21:12 ziff123 阅读(130) 评论(0) 推荐(0) 编辑
摘要:SqlSugar code first 字段为枚举类型,默认生成数据库字段为bigint如何设置为int类型 第一种方法:定义枚举的时候,后面加int,例: public enum JobTypeEnum : int { [Description("全部")] all = 0, [Descripti 阅读全文
posted @ 2024-08-07 14:24 ziff123 阅读(106) 评论(0) 推荐(0) 编辑
摘要:AI对话接口采用流式返回,使用Flurl处理返回的数据流 using Flurl; using Flurl.Http; [HttpPost] public async Task<string> GetLiushiChatLaw() { //1、请求参数,根据实际情况 YourModel reques 阅读全文
posted @ 2024-08-05 15:50 ziff123 阅读(359) 评论(0) 推荐(0) 编辑
摘要:将 添加到 ;TrustServerCertificate=true 连接字符串。 这将强制客户端在不验证的情况下信任证书。 阅读全文
posted @ 2024-08-03 09:36 ziff123 阅读(193) 评论(0) 推荐(0) 编辑
摘要:1、可以实例化的通过参数获取 [HttpPost] public IActionResult Post([FromBody] MyModel model) { // 在这里你可以使用model中的数据 return Ok(model); } 当你发送一个POST请求到这个控制器动作时,ASP.NET 阅读全文
posted @ 2024-08-02 16:10 ziff123 阅读(127) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示