diff --git a/src/platforms/app-plus/service/framework/page.js b/src/platforms/app-plus/service/framework/page.js index 3d1abc83d802c9208a089f1bb7a8754ac1557ab0..0bc446f2c8f42bf1037a55ea4746d1ef9b340855 100644 --- a/src/platforms/app-plus/service/framework/page.js +++ b/src/platforms/app-plus/service/framework/page.js @@ -88,10 +88,10 @@ export function registerPage ({ $remove () { const index = pages.findIndex(page => page === this) if (index !== -1) { - pages.splice(index, 1) if (!webview.nvue) { this.$vm.$destroy() } + pages.splice(index, 1) if (process.env.NODE_ENV !== 'production') { console.log('[uni-app] removePage', path, webview.id) } @@ -134,4 +134,4 @@ export function registerPage ({ } return webview -} +}