Skip to content

Commit fbdf327

Browse files
committed
fix: child of NavigationEntry key generated in render (nativescript-vue#813)
1 parent 4b25980 commit fbdf327

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: platform/nativescript/plugins/navigator-plugin.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ export default {
7575

7676
return new Promise(resolve => {
7777
const frame = getFrameInstance(options.frame)
78+
const key = serializeNavigationOptions(options)
7879
const navEntryInstance = new Vue({
7980
abstract: true,
8081
functional: true,
@@ -84,7 +85,7 @@ export default {
8485
render: h =>
8586
h(component, {
8687
props: options.props,
87-
key: serializeNavigationOptions(options)
88+
key
8889
})
8990
})
9091
const page = navEntryInstance.$mount().$el.nativeView

0 commit comments

Comments
 (0)