基础 /更新 /UpdateManager /UpdateManager.applyUpdate /
UpdateManager.applyUpdate()
小程序插件:不支持
功能描述
强制小程序重启并使用新版本。在小程序新版本下载完成后(即收到 onUpdateReady
回调)调用。
示例代码
示例代码
The translations are provided by WeChat Translation and are for reference only. In case of any inconsistency and discrepancy between the Chinese version and the English version, the Chinese version shall prevail.Incorrect translation. Tap to report.