UpdateManager.applyUpdate()

微信小程序插件:不支持

功能描述

强制微信小程序重启并使用新版本。在微信小程序新版本下载完成后(即收到 onUpdateReady 回调)调用。

示例代码

示例代码