修复错误的title显示

This commit is contained in:
Chenx221 2023-08-23 13:49:37 +08:00
parent 21ca4e2ddf
commit ad352f38f0

View File

@ -40,6 +40,10 @@ namespace OTP
public int Id { get; set; } public int Id { get; set; }
public string Title { get; set; } public string Title { get; set; }
public string SecretKey { get; set; } public string SecretKey { get; set; }
public override string ToString()
{
return Title; // 返回 Title 属性的值作为显示文本
}
} }