mirror of
https://github.com/motajs/template.git
synced 2026-11-14 23:54:31 +08:00
fix: 移除不存在 prop 的警告,避免透传或其他原因导致的意外警告
This commit is contained in:
1 parent
7acb1d52e7
commit
49124fdc29
2 files changed
-3
No files matched your search
@@ -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."
|
||||
}
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user