跳到主要内容

bn.exitMiniProgram

exitMiniProgram(options?): Promise<{}>

description Exit the miniprogram. There must be a click behavior to call successfully

Parameters

NameTypeDescription
options?ExitMiniProgramOptionsExit mini program options

Returns

Promise<{}>


Interface: ExitMiniProgramOptions

NameTypeDescription
forcebooleandescription Is the mini program killed when exit, default is false**remark** supported jssdk >= 4.7.0