重构对话框组件,将所有 DialogWrapper 替换为 VDialog,并更新缓存版本至 v1.1.0

This commit is contained in:
jxxghp
2025-08-23 18:54:00 +08:00
parent 6e50acf106
commit 472d1960d9
66 changed files with 163 additions and 637 deletions

View File

@@ -338,7 +338,7 @@ onMounted(() => {
</div>
</div>
</div>
<DialogWrapper v-if="releaseDialog" v-model="releaseDialog" width="600" scrollable>
<VDialog v-if="releaseDialog" v-model="releaseDialog" width="600" scrollable>
<VCard>
<VCardItem>
<VDialogCloseBtn @click="releaseDialog = false" />
@@ -346,7 +346,7 @@ onMounted(() => {
</VCardItem>
<VCardText v-html="releaseDialogBody" />
</VCard>
</DialogWrapper>
</VDialog>
</template>
<style type="scss" scoped>

View File

@@ -11,7 +11,6 @@ import { usePWA } from '@/composables/usePWA'
// 国际化
const { t } = useI18n()
// PWA模式检测
const { appMode } = usePWA()
@@ -423,7 +422,7 @@ onMounted(() => {
</VCard>
<!-- 重新识别对话框 -->
<DialogWrapper v-model="reidentifyDialog" scrollable max-width="35rem">
<VDialog v-model="reidentifyDialog" scrollable max-width="35rem">
<VCard>
<VCardItem class="py-2">
<template #prepend>
@@ -469,5 +468,5 @@ onMounted(() => {
</VBtn>
</VCardActions>
</VCard>
</DialogWrapper>
</VDialog>
</template>

View File

@@ -444,7 +444,7 @@ onMounted(() => {
:indeterminate="true"
/>
<!-- 模板编辑器对话框 -->
<DialogWrapper v-model="editorVisible" v-if="editorVisible" max-width="50rem" :fullscreen="!display.mdAndUp.value">
<VDialog v-model="editorVisible" v-if="editorVisible" max-width="50rem" :fullscreen="!display.mdAndUp.value">
<VCard>
<VCardItem class="py-2">
<template #prepend>
@@ -472,7 +472,7 @@ onMounted(() => {
</VBtn>
</VCardActions>
</VCard>
</DialogWrapper>
</VDialog>
</template>
<style scoped>
/* Monaco编辑器容器样式 */

View File

@@ -733,7 +733,7 @@ onDeactivated(() => {
</VRow>
<!-- 高级系统设置 -->
<DialogWrapper
<VDialog
v-if="advancedDialog"
v-model="advancedDialog"
scrollable
@@ -1329,5 +1329,5 @@ onDeactivated(() => {
</VForm>
</VCardActions>
</VCard>
</DialogWrapper>
</VDialog>
</template>