fix: 移除对话框的 persistent 属性

This commit is contained in:
jxxghp
2025-03-15 11:52:16 +08:00
parent d13264b10e
commit 5b84ce307b
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -209,7 +209,7 @@ onMounted(() => {
</VList> </VList>
</VMenu> </VMenu>
<!-- 自定义 CSS -- --> <!-- 自定义 CSS -- -->
<VDialog v-if="cssDialog" v-model="cssDialog" persistent max-width="50rem" scrollable :fullscreen="!display.mdAndUp.value"> <VDialog v-if="cssDialog" v-model="cssDialog" max-width="50rem" scrollable :fullscreen="!display.mdAndUp.value">
<VCard title="自定义主题风格"> <VCard title="自定义主题风格">
<DialogCloseBtn @click="cssDialog = false" /> <DialogCloseBtn @click="cssDialog = false" />
<VDivider /> <VDivider />
+1 -1
View File
@@ -166,7 +166,7 @@ onMounted(async () => {
</script> </script>
<template> <template>
<VDialog scrollable :close-on-back="false" persistent eager max-width="50rem" :fullscreen="!display.mdAndUp.value"> <VDialog scrollable :close-on-back="false" eager max-width="50rem" :fullscreen="!display.mdAndUp.value">
<VCard <VCard
:title="`${props.oper === 'add' ? '新增' : '编辑'}站点${props.oper !== 'add' ? ` - ${siteForm.name}` : ''}`" :title="`${props.oper === 'add' ? '新增' : '编辑'}站点${props.oper !== 'add' ? ` - ${siteForm.name}` : ''}`"
class="rounded-t" class="rounded-t"
+1 -1
View File
@@ -267,7 +267,7 @@ onMounted(() => {
</script> </script>
<template> <template>
<VDialog scrollable :close-on-back="false" persistent eager max-width="50rem" :fullscreen="!display.mdAndUp.value"> <VDialog scrollable :close-on-back="false" eager max-width="50rem" :fullscreen="!display.mdAndUp.value">
<VCard <VCard
:title="`${props.oper === 'add' ? '新增' : '编辑'}用户${props.oper !== 'add' ? ` - ${userName}` : ''}`" :title="`${props.oper === 'add' ? '新增' : '编辑'}用户${props.oper !== 'add' ? ` - ${userName}` : ''}`"
class="rounded-t" class="rounded-t"
@@ -79,7 +79,7 @@ async function editWorkflow() {
</script> </script>
<template> <template>
<VDialog scrollable :close-on-back="false" persistent eager max-width="30rem" :fullscreen="!display.mdAndUp.value"> <VDialog scrollable :close-on-back="false" eager max-width="30rem" :fullscreen="!display.mdAndUp.value">
<VCard :title="`${title}任务`" class="rounded-t"> <VCard :title="`${title}任务`" class="rounded-t">
<DialogCloseBtn @click="emit('close')" /> <DialogCloseBtn @click="emit('close')" />
<VDivider /> <VDivider />
+1 -1
View File
@@ -400,7 +400,7 @@ watch(
</VRow> </VRow>
<!-- 双重验证弹窗 --> <!-- 双重验证弹窗 -->
<VDialog v-if="otpDialog" v-model="otpDialog" max-width="45rem" persistent scrollable> <VDialog v-if="otpDialog" v-model="otpDialog" max-width="45rem" scrollable>
<!-- 开启双重验证弹窗内容 --> <!-- 开启双重验证弹窗内容 -->
<VCard> <VCard>
<DialogCloseBtn @click="otpDialog = false" /> <DialogCloseBtn @click="otpDialog = false" />