@tarojs/runtime 3.4.5 → 3.4.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/runtime.esm.js +2 -0
- package/dist/runtime.esm.js.map +1 -1
- package/package.json +4 -4
package/dist/runtime.esm.js
CHANGED
|
@@ -4535,6 +4535,8 @@ function createPageConfig(component, pageName, data, pageConfig) {
|
|
|
4535
4535
|
},
|
|
4536
4536
|
[ONUNLOAD]() {
|
|
4537
4537
|
const $taroPath = this.$taroPath;
|
|
4538
|
+
// 触发onUnload生命周期
|
|
4539
|
+
safeExecute($taroPath, ONUNLOAD);
|
|
4538
4540
|
unmounting = true;
|
|
4539
4541
|
Current.app.unmount($taroPath, () => {
|
|
4540
4542
|
unmounting = false;
|