binxie
2023-07-11 be102ae06e8f986bd9d1a544cd2752e5fa94231a
force-app/main/default/lwc/viewRecord/viewRecord.js
@@ -4,6 +4,7 @@
import ACCOUNT_TYPE_FIELD from '@salesforce/schema/Account.Type';
import ACCOUNT_PHONE_FIELD from '@salesforce/schema/Account.Phone';
import ACCOUNT_EMPLOYEES_FIELD from '@salesforce/schema/Account.NumberOfEmployees';
import ACCOUNT_PARENT_FIELD from '@salesforce/schema/Account.ParentId';
export default class ViewRecord extends LightningElement {
    @api recordId;
@@ -13,6 +14,7 @@
        ACCOUNT_NAME_FIELD,
        ACCOUNT_TYPE_FIELD,
        ACCOUNT_PHONE_FIELD,
        ACCOUNT_EMPLOYEES_FIELD
        ACCOUNT_EMPLOYEES_FIELD,
        ACCOUNT_PARENT_FIELD
    ];
}