HBuilder(基于MUI的H5+)如何重启或强制退出APP的方法
// 封装一个H5+的重启APP的方法Vue.prototype.$plusRestartApp = function () {// #ifdef APP-PLUSplus.runtime.restart()// #endif}参考:https://www.html5plus.org/doc/zh_cn/runtime.html...
·
// 封装一个H5+的重启APP的方法
Vue.prototype.$plusRestartApp = function () {
// #ifdef APP-PLUS
plus.runtime.restart()
// #endif
}
更多推荐
已为社区贡献42条内容
所有评论(0)