fix: 移除不存在 prop 的警告,避免透传或其他原因导致的意外警告

This commit is contained in:
AncTe committed 2026-11-11 19:28:43 +08:00
1 parent 7acb1d52e7
commit 49124fdc29
2 files changed
-3

No files matched your search

-1
View File
@@ -320,7 +320,6 @@
"212": "Duplicate implements for hotkey command '$1', old one will be overwritten. This probably caused by unclearing implementation config, please check.",
"213": "Setting item '$1' has existed in group '$2'. The item will be moved to new group '$3'.",
"214": "Range setting item get a number range that cannot be divided into integer by step: range=[$1, $2], step=$3. This may cause issues, please ensure number range can be divided by step evenly.",
"215": "Cannot recognize '$1' as a proper render item prop or emit.",
"1001": "Event(setBlock): Unknown tile '$1' when setting block."
}
}
-2
View File
@@ -1225,8 +1225,6 @@ export abstract class RenderItem
// 事件参数
if (!this.assertType(nextValue, Function, key)) return;
this.events.set(key, nextValue);
} else {
logger.warn(215, key);
}
}