mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-04 23:18:44 +08:00
订阅历史弹窗小屏时全屏
This commit is contained in:
@@ -2,6 +2,10 @@
|
|||||||
import api from '@/api';
|
import api from '@/api';
|
||||||
import { Subscribe } from '@/api/types';
|
import { Subscribe } from '@/api/types';
|
||||||
import { formatDateDifference } from '@core/utils/formatters'
|
import { formatDateDifference } from '@core/utils/formatters'
|
||||||
|
import { useDisplay } from 'vuetify'
|
||||||
|
|
||||||
|
// 显示器宽度
|
||||||
|
const displayWidth = useDisplay().width
|
||||||
|
|
||||||
// 输入参数
|
// 输入参数
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
@@ -133,7 +137,7 @@ const dropdownItems = ref([
|
|||||||
<VDialog
|
<VDialog
|
||||||
scrollable
|
scrollable
|
||||||
max-width="50rem"
|
max-width="50rem"
|
||||||
max-height="90vh"
|
:fullscreen="displayWidth < (50 * 16)"
|
||||||
>
|
>
|
||||||
<VCard
|
<VCard
|
||||||
class="mx-auto"
|
class="mx-auto"
|
||||||
|
|||||||
Reference in New Issue
Block a user