Skip to content

wevu / index / onBeforeUnmount

函数: onBeforeUnmount()

onBeforeUnmount(handler): void

定义于: packages/wevu/src/runtime/hooks.ts:212

Vue 3 对齐:卸载前触发。 小程序无 before-unload 生命周期,setup 时同步执行以保持语义。

参数

handler

() => void

返回

void

Released under the MIT License.