diff --git a/OTP/Form1.cs b/OTP/Form1.cs index 032eb29..85c608c 100644 --- a/OTP/Form1.cs +++ b/OTP/Form1.cs @@ -40,6 +40,10 @@ namespace OTP public int Id { get; set; } public string Title { get; set; } public string SecretKey { get; set; } + public override string ToString() + { + return Title; // 返回 Title 属性的值作为显示文本 + } }