mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-05-17 16:07:34 +08:00
站点编辑弹窗小屏下全屏
This commit is contained in:
@@ -4,6 +4,10 @@ import type { Site } from '@/api/types'
|
||||
import { doneNProgress, startNProgress } from '@/api/nprogress'
|
||||
import { numberValidator, requiredValidator } from '@/@validators'
|
||||
import api from '@/api'
|
||||
import { useDisplay } from 'vuetify'
|
||||
|
||||
// 显示器宽度
|
||||
const displayWidth = useDisplay().width
|
||||
|
||||
// 输入参数
|
||||
const props = defineProps({
|
||||
@@ -125,6 +129,7 @@ async function updateSiteInfo() {
|
||||
persistent
|
||||
eager
|
||||
max-width="60rem"
|
||||
:fullscreen="displayWidth < (60 * 16)"
|
||||
>
|
||||
<VCard
|
||||
:title="`${props.oper === 'add' ? '新增' : '编辑'}站点${props.oper !== 'add' ? ` - ${siteForm.name}` : ''}`"
|
||||
|
||||
Reference in New Issue
Block a user