mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 23:56:42 +08:00
插件配置弹窗小屏下全屏
This commit is contained in:
@@ -11,6 +11,10 @@ import { isNullOrEmptyObject } from '@core/utils'
|
|||||||
import noImage from '@images/logos/plugin.png'
|
import noImage from '@images/logos/plugin.png'
|
||||||
import { getDominantColor } from '@/@core/utils/image'
|
import { getDominantColor } from '@/@core/utils/image'
|
||||||
import store from '@/store'
|
import store from '@/store'
|
||||||
|
import { useDisplay } from 'vuetify'
|
||||||
|
|
||||||
|
// 显示器宽度
|
||||||
|
const displayWidth = useDisplay().width
|
||||||
|
|
||||||
// 输入参数
|
// 输入参数
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
@@ -477,6 +481,7 @@ watch(() => props.plugin?.has_update, (newHasUpdate, oldHasUpdate) => {
|
|||||||
v-model="pluginConfigDialog"
|
v-model="pluginConfigDialog"
|
||||||
scrollable
|
scrollable
|
||||||
max-width="60rem"
|
max-width="60rem"
|
||||||
|
:fullscreen="displayWidth < (60 * 16)"
|
||||||
>
|
>
|
||||||
<VCard
|
<VCard
|
||||||
:title="`${props.plugin?.plugin_name} - 配置`"
|
:title="`${props.plugin?.plugin_name} - 配置`"
|
||||||
|
|||||||
Reference in New Issue
Block a user