mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 15:36:49 +08:00
文件整理弹窗小屏时全屏
This commit is contained in:
@@ -4,6 +4,10 @@ import TmdbSelector from '../misc/TmdbSelector.vue'
|
|||||||
import store from '@/store'
|
import store from '@/store'
|
||||||
import api from '@/api'
|
import api from '@/api'
|
||||||
import { numberValidator } from '@/@validators'
|
import { numberValidator } from '@/@validators'
|
||||||
|
import { useDisplay } from 'vuetify'
|
||||||
|
|
||||||
|
// 显示器宽度
|
||||||
|
const displayWidth = useDisplay().width
|
||||||
|
|
||||||
// 输入参数
|
// 输入参数
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
@@ -144,6 +148,7 @@ async function transfer() {
|
|||||||
<VDialog
|
<VDialog
|
||||||
scrollable
|
scrollable
|
||||||
max-width="60rem"
|
max-width="60rem"
|
||||||
|
:fullscreen="displayWidth < (60 * 16)"
|
||||||
>
|
>
|
||||||
<VCard
|
<VCard
|
||||||
:title="`${props.path ? `整理 - ${props.path}` : `整理 - 共 ${props.logids?.length} 条记录`}`"
|
:title="`${props.path ? `整理 - ${props.path}` : `整理 - 共 ${props.logids?.length} 条记录`}`"
|
||||||
|
|||||||
Reference in New Issue
Block a user