Compare commits

...

2 Commits

Author SHA1 Message Date
8619d8ba2e yb 2025-03-24 19:04:03 +08:00
b60d2759b1 修改标签路径 2025-03-24 19:03:30 +08:00

View File

@ -752,7 +752,17 @@ namespace DH.Commons.Base
[Description("中处理-模型标签路径")]
public string In_lable_path
{
get => _in_lable_path;
get
{
if (string.IsNullOrEmpty(ModelPath) || string.IsNullOrWhiteSpace(ModelPath))
{
return string.Empty;
}
string dir = Path.GetDirectoryName(ModelPath);
string file = $"{Path.GetFileNameWithoutExtension(ModelPath)}.txt";
return Path.Combine(dir, file);
}
set
{
if (_in_lable_path == value) return;