yumenghui
2023-08-11 d533f39b6fa798e238810d17e928dee75d5b1af7
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
    ];
}