feat: delete filters

This commit is contained in:
Fine 2023-01-14 16:12:30 +08:00
parent eba9dcdae1
commit 746a71ac10

View File

@ -226,6 +226,7 @@ limitations under the License. -->
standard?: unknown;
label?: string;
value?: string;
filters?: unknown;
})[],
) {
for (const child of children || []) {
@ -235,6 +236,7 @@ limitations under the License. -->
delete child.id;
delete child.label;
delete child.value;
delete child.filters;
if (isEmptyObject(child.graph)) {
delete child.graph;
}