fix: sync default value in view (#4067)

This commit is contained in:
ChengLei Shao 2024-04-17 15:36:29 +08:00 committed by GitHub
parent 8bff5c32a7
commit 164359171d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -139,6 +139,10 @@ export class FieldModel extends MagicAttributeModel {
return;
}
if (collection.isView()) {
return;
}
const field = collection.getField(this.get('name'));
// overriding field should not sync default value