mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-06 03:57:56 +08:00
fix(dep): 依赖收集不能过滤id/name
This commit is contained in:
parent
f671c670db
commit
0c207c7b83
@ -222,7 +222,6 @@ export default class Watcher {
|
|||||||
for (const [key, value] of Object.entries(config)) {
|
for (const [key, value] of Object.entries(config)) {
|
||||||
if (typeof value === 'undefined' || value === '') continue;
|
if (typeof value === 'undefined' || value === '') continue;
|
||||||
|
|
||||||
if (key === 'id' || key === 'name') continue;
|
|
||||||
doCollect(key, value);
|
doCollect(key, value);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user