diff --git a/src/admin/common/Form/index.vue b/src/admin/common/Form/index.vue index 48b31447..0376f6d6 100644 --- a/src/admin/common/Form/index.vue +++ b/src/admin/common/Form/index.vue @@ -44,7 +44,8 @@ export default class extends Mixins(BaseVue) { } get defaultLabelPosition() { - if (document.body.clientWidth < 1200) { return 'top' } else { return 'left' } + // if (document.body.clientWidth < 1400) { return 'top' } else { return 'left' } + return 'top' } } diff --git a/src/admin/common/Others/Dialog/index.vue b/src/admin/common/Others/Dialog/index.vue index 760665d2..e2ff7fd2 100644 --- a/src/admin/common/Others/Dialog/index.vue +++ b/src/admin/common/Others/Dialog/index.vue @@ -65,8 +65,8 @@ export default class extends Mixins(BaseVue) { } get defaultWidth() { - if (document.body.clientWidth > 1200) { - return '50%' + if (document.body.clientWidth > 1400) { + return '65%' } else if (document.body.clientWidth > 800) { return '80%' } else {