開発モードで警告を表示するようにするなど

This commit is contained in:
syuilo
2018-08-30 22:10:29 +09:00
parent 9fd4f5ee0a
commit f0abc46429
6 changed files with 46 additions and 5 deletions

View File

@ -31,7 +31,14 @@ export default Vue.extend({
connectionId: null
};
},
watch: {
'$store.state.uiHeaderHeight'() {
this.$el.style.paddingTop = this.$store.state.uiHeaderHeight + 'px';
}
},
mounted() {
this.$el.style.paddingTop = this.$store.state.uiHeaderHeight + 'px';
if (this.$store.getters.isSignedIn) {
this.connection = (this as any).os.stream.getConnection();
this.connectionId = (this as any).os.stream.use();