mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-04 23:18:44 +08:00
站点更新弹窗小屏下全屏展示
This commit is contained in:
@@ -8,6 +8,10 @@ import api from '@/api'
|
|||||||
import type { Site, SiteStatistic } from '@/api/types'
|
import type { Site, SiteStatistic } from '@/api/types'
|
||||||
import ExistIcon from '@core/components/ExistIcon.vue'
|
import ExistIcon from '@core/components/ExistIcon.vue'
|
||||||
import { isNullOrEmptyObject } from '@/@core/utils'
|
import { isNullOrEmptyObject } from '@/@core/utils'
|
||||||
|
import { useDisplay } from 'vuetify'
|
||||||
|
|
||||||
|
// 显示器宽度
|
||||||
|
const displayWidth = useDisplay().width
|
||||||
|
|
||||||
// 输入参数
|
// 输入参数
|
||||||
const cardProps = defineProps({
|
const cardProps = defineProps({
|
||||||
@@ -310,6 +314,7 @@ onMounted(() => {
|
|||||||
<VDialog
|
<VDialog
|
||||||
v-model="siteCookieDialog"
|
v-model="siteCookieDialog"
|
||||||
max-width="50rem"
|
max-width="50rem"
|
||||||
|
:fullscreen="displayWidth < (50 * 16)"
|
||||||
>
|
>
|
||||||
<!-- Dialog Content -->
|
<!-- Dialog Content -->
|
||||||
<VCard title="更新站点Cookie & UA">
|
<VCard title="更新站点Cookie & UA">
|
||||||
|
|||||||
Reference in New Issue
Block a user