From d22864834edebb8215886f2286b028fcdd00d6b0 Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期三, 23 三月 2022 15:32:23 +0800 Subject: [PATCH] 2022-01-23-01 --- HDL_ON/Entity/Function/Function.cs | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/HDL_ON/Entity/Function/Function.cs b/HDL_ON/Entity/Function/Function.cs index c6af2de..d87b67f 100644 --- a/HDL_ON/Entity/Function/Function.cs +++ b/HDL_ON/Entity/Function/Function.cs @@ -111,6 +111,7 @@ /// <returns></returns> public string GetAttrState(string key) { + //涓�绾ф煡璇eyValue鍊� var attrState = attributes.Find((s) => s.key == key.ToString()); if (attrState == null) { @@ -118,6 +119,7 @@ } if (string.IsNullOrEmpty(attrState.state)) { + //浜岀骇鏌ヨkeyValue鍊� return GetOriginalState(key); } return attrState.state; @@ -125,8 +127,9 @@ /// <summary> /// 鑾峰彇鍒濆鐘舵�� + /// 榛樿鍊硷細0 /// </summary> - /// <param name="key"></param> + /// <param name="key">璇泙瀹氫箟鐨勫睘鎬у��</param> /// <returns></returns> public string GetOriginalState(string key) { -- Gitblit v1.8.0