Skip to content

Commit 8b7b814

Browse files
authored
Merge pull request #2058 from didi/fix-web-unmounted
fix: web环境UNMOUNTED不执行问题
2 parents 3c56726 + 3abe075 commit 8b7b814

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/core/src/platform/patch/getDefaultOptions.web.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ export function getDefaultOptions ({ type, rawOptions = {} }) {
8989
},
9090
destroyed () {
9191
if (this.__mpxProxy) {
92-
this.__mpxProxy.state = UNMOUNTED
9392
this.__mpxProxy.callHook(UNMOUNTED)
93+
this.__mpxProxy.state = UNMOUNTED
9494
}
9595
},
9696
serverPrefetch (...args) {

0 commit comments

Comments
 (0)