クライアントの設定コンポーネントを整理

* デスクトップとモバイルで統一
* いくつかの設定を廃止
This commit is contained in:
syuilo
2019-03-01 10:42:28 +09:00
parent d83efecc94
commit ea1818284b
26 changed files with 737 additions and 1206 deletions

View File

@@ -89,12 +89,6 @@ export default Vue.extend({
}
},
data() {
return {
preventMount: false
};
},
computed: {
isFlexible(): boolean {
return this.height == 'auto';
@@ -105,21 +99,11 @@ export default Vue.extend({
},
created() {
if (this.$store.state.device.autoPopout && this.popoutUrl) {
this.popout();
this.preventMount = true;
} else {
// ウィンドウをウィンドウシステムに登録
this.$root.os.windows.add(this);
}
// ウィンドウをウィンドウシステムに登録
this.$root.os.windows.add(this);
},
mounted() {
if (this.preventMount) {
this.destroyDom();
return;
}
this.$nextTick(() => {
const main = this.$refs.main as any;
main.style.top = '15%';