# Object getPluginEnterOptions()

ObtainWhen entering the Mini Program from the plugin pageOf the startup parameters.

When entering an Mini Program from the plug-in page, the Mini Program itself cannot be accessed directly through thewx.getEnterOptionsSync Gets the startup parameters, so this interface is provided.

Note:**When the Mini Program is in the foreground by the client ReLaunch (for example, mobile phone WeChat to remind to open a Mini Program, or WMPF launchMiniProgram Interface to open the Mini Program)**♪ not in this caseEnter the Mini Program,getPluginEnterOptions Unable to get the latest Query, which needs to be passed through the getPluginOnloadOptions Get.

# parameter

nothing

# Return value

# Object

Start parameters. With plug-in callswx.getEnterOptionsSyncThe return value is consistent.

# sample code

const wmpfVoip = requirePlugin('wmpf-voip' ).default

const query = wmpfVoip.getPluginEnterOptions()