mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-18 22:40:10 +00:00
修复Chart在运行时动态添加Component异常的问题 (#339)
This commit is contained in:
@@ -52,6 +52,7 @@ namespace XCharts.Runtime
|
||||
|
||||
public MainComponent AddChartComponent(Type type)
|
||||
{
|
||||
InitListForFieldInfos();
|
||||
if (!CanAddChartComponent(type))
|
||||
{
|
||||
Debug.LogError("XCharts ERROR: CanAddChartComponent:" + type.Name);
|
||||
|
||||
Reference in New Issue
Block a user