This commit is contained in:
sc committed 2024-08-18 22:55:37 +08:00
commit 468b63fd8b
6 files changed
+77 -17

No files matched your search

+2 -2
View File
@@ -12,8 +12,8 @@ namespace DyeingComputer.ConvertMoels
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
bool G = System.Convert.ToBoolean(value);
if (!G)//判断单元格值是否为零
string G = System.Convert.ToString(value);
if (G=="0")//判断单元格值是否为零
{
return "black";//零返回
}