Skip to content

Commit c3087a9

Browse files
committed
fix: display rules of password page
1 parent 8dd5cdd commit c3087a9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

components/Common.vue

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,15 @@ export default {
166166
}
167167
}
168168
}
169+
},
170+
171+
watch: {
172+
$frontmatter (newVal, oldVal) {
173+
if (newVal.home) {
174+
this.hasKey()
175+
this.hasPageKey()
176+
}
177+
}
169178
}
170179
}
171180
</script>

0 commit comments

Comments
 (0)