2025年7月17日
摘要: Unhandled exception. System.InvalidOperationException: Unable to configure HTTPS endpoint. No server certificate was specified, and the default develo 阅读全文
posted @ 2025-07-17 14:20 侗家小蚁哥 阅读(26) 评论(0) 推荐(0)
  2024年11月1日
摘要: 使用PostMan测试netcore接口。如果接口使用FromForm来接受数据。则PostMan的数据组合需要如下方式: 注意看JSON数据。。 提交时用的是:multipart/form-data; 数据装载是用的:[0],[1]来标识数组对象中的字段 阅读全文
posted @ 2024-11-01 15:18 侗家小蚁哥 阅读(12) 评论(0) 推荐(0)
  2024年10月24日
摘要: //js //富文本反转义html function escape2Html(str){ var arrEntities = { 'lt': '<', 'gt': '>', 'nbsp': ' ', 'amp': '&', 'quot': '"' }; return str.replace(/&(l 阅读全文
posted @ 2024-10-24 11:58 侗家小蚁哥 阅读(96) 评论(0) 推荐(0)
  2024年9月13日
摘要: Bitmap => byte[] Bitmap b = new Bitmap( "test.bmp "); MemoryStream ms = new MemoryStream(); b.Save(ms,System.Drawing.Imaging.ImageFormat.Bmp); byte[] 阅读全文
posted @ 2024-09-13 15:04 侗家小蚁哥 阅读(67) 评论(0) 推荐(0)
  2024年8月12日
摘要: C#中的日期处理函数 //2007年4月24日 this.TextBox6.Text = System.DateTime.Now.ToString("D"); //2007-4-24 this.TextBox7.Text = System.DateTime.Now.ToString("d"); // 阅读全文
posted @ 2024-08-12 11:21 侗家小蚁哥 阅读(34) 评论(0) 推荐(0)
  2024年6月18日
摘要: 需求: 点击底部tab页 跳转到页面中时 弹窗提示 然后页面返回某一页 onshow/onLoad 很简单的需求 uni.showToast({ icon: 'error', title: '页面开发中...', duration: 1000, mask: true}) setTimeout(()= 阅读全文
posted @ 2024-06-18 14:06 侗家小蚁哥 阅读(507) 评论(0) 推荐(0)
摘要: 1.navigateTo 保留当前页面,跳转到应用内的某个页面,使用uni.navigateBack可以返回到原页面。 要注意的是navigateTo只能跳转的应用内非 tabBar 的页面的路径 , 路径后可以带参数;如果跳转url参数为tabBar的路径则无法进行跳转 2.redirectTo关 阅读全文
posted @ 2024-06-18 09:17 侗家小蚁哥 阅读(512) 评论(0) 推荐(0)
  2024年6月4日
摘要: 报错: System.PlatformNotSupportedException: System.Drawing.Common is not supported on non-Windows platforms. See https://aka.ms/systemdrawingnonwindows 阅读全文
posted @ 2024-06-04 14:37 侗家小蚁哥 阅读(168) 评论(0) 推荐(0)
  2024年5月31日
摘要: 1. beforeCreate 初始化界面前 : 在当前阶段data、methods、computed以及watch上的数据和方法都不能被访问。 2. created初始化界面后 : 在实例创建完成后发生,当前阶段已经完成了数据观测,也就是可以使用数据,更改数据,在这里更改数据不会触发updated 阅读全文
posted @ 2024-05-31 16:41 侗家小蚁哥 阅读(52) 评论(0) 推荐(0)
  2024年5月23日
摘要: public virtual IResponseMessageBase OnImageRequest(RequestMessageImage requestMessage); public virtual IResponseMessageBase OnLinkRequest(RequestMessa 阅读全文
posted @ 2024-05-23 09:44 侗家小蚁哥 阅读(59) 评论(0) 推荐(0)