The method defined in the Apex class must be static to be used as an Aura-enabled method. Aura-enabled methods need to be static because they are called by the Lightning framework without instantiating the class.References: Apex Developer Guide - Exposing Apex Methods to Lightning
最新のコメント (最新のコメントはトップにあります。)
The answer is B