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

* デスクトップとモバイルで統一
* いくつかの設定を廃止
This commit is contained in:
syuilo 2019-03-01 10:42:28 +09:00
parent d83efecc94
commit ea1818284b
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
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%';