Fork me on GitHub
摘要: //简单实例public class MyClass { private string[] myArray = new string[5]; // 索引器 public string this[int index] { get { return myArray[index]; } set { myA 阅读全文
posted @ 2024-02-21 15:49 WantRemake 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 有时候后端使用的字段为datetime,接口返回数据会变成/Date(1708311728230+0800)/这种,这时候就需要去转换一下格式 function convertDateString(dateString) { var timestamp = parseInt(dateString.m 阅读全文
posted @ 2024-02-21 13:58 WantRemake 阅读(51) 评论(0) 推荐(0) 编辑