@@ -38,12 +38,10 @@ export default {
38
38
} ,
39
39
data ( ) {
40
40
return {
41
- // isFirstRender: true,
42
41
properties : { }
43
42
}
44
43
} ,
45
44
created ( ) {
46
- this . _isFirstRender = true
47
45
this . properties = Object . assign ( { } , this . $attrs , this . $props )
48
46
49
47
setFrame ( this . properties . id , this )
@@ -54,8 +52,8 @@ export default {
54
52
render ( h ) {
55
53
let vnode = null
56
54
57
- // Render slot on first render to ensure default page is displayed
58
- if ( this . $slots . default && this . _isFirstRender ) {
55
+ // Render slot to ensure default page is displayed
56
+ if ( this . $slots . default ) {
59
57
if (
60
58
process . env . NODE_ENV !== 'production' &&
61
59
this . $slots . default . length > 1
@@ -64,7 +62,6 @@ export default {
64
62
`The <Frame> element can only have a single child element, that is the defaultPage.`
65
63
)
66
64
}
67
- this . _isFirstRender = false
68
65
vnode = this . $slots . default [ 0 ]
69
66
vnode . key = 'default'
70
67
}
@@ -109,7 +106,6 @@ export default {
109
106
} ,
110
107
111
108
notifyPageMounted ( pageVm ) {
112
- console . log ( 'Page Mounted.' )
113
109
let options = {
114
110
backstackVisible : this . backstackVisible ,
115
111
clearHistory : this . clearHistory ,
0 commit comments