mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-09-14 02:59:21 +08:00
style: 优化公告和字典项响应式窗口效果
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
:mask-closable="false"
|
||||
:esc-to-close="false"
|
||||
:modal-style="{ maxWidth: '780px' }"
|
||||
width="90%"
|
||||
:width="width >= 600 ? '90%' : '100%'"
|
||||
ok-text="关闭"
|
||||
hide-cancel
|
||||
>
|
||||
@@ -68,7 +68,9 @@ import DictItemAddModal from './DictItemAddModal.vue'
|
||||
import type { TableInstanceColumns } from '@/components/GiTable/type'
|
||||
import { useTable } from '@/hooks'
|
||||
import { isMobile } from '@/utils'
|
||||
import { useWindowSize } from '@vueuse/core'
|
||||
|
||||
const { width } = useWindowSize()
|
||||
const columns: TableInstanceColumns[] = [
|
||||
{
|
||||
title: '序号',
|
||||
|
Reference in New Issue
Block a user