mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-18 15:26:54 +08:00
refactor(dialog): 优化对话框组件的配置和交互
- 修改了多个组件的关闭对话框逻辑,设置 wrapperClosable 为 false - 更新了多个组件的确认对话框逻辑,使用 $messageBox 替代 $confirm - 调整了部分对话框的样式和布局
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<el-dialog
|
||||
<r-dialog
|
||||
:title="title"
|
||||
:visible.sync="visible"
|
||||
width="800px"
|
||||
@@ -94,17 +94,17 @@
|
||||
<div slot="footer" class="dialog-footer" v-if="!isView">
|
||||
<el-button
|
||||
type="primary"
|
||||
size="small"
|
||||
size="medium"
|
||||
:loading="loading"
|
||||
@click="submitForm"
|
||||
>确 定</el-button
|
||||
>
|
||||
<el-button size="small" @click="handleClose">取 消</el-button>
|
||||
<el-button size="medium" @click="handleClose">取 消</el-button>
|
||||
</div>
|
||||
<div slot="footer" class="dialog-footer" v-else>
|
||||
<el-button size="small" @click="handleClose">关 闭</el-button>
|
||||
<el-button size="medium" @click="handleClose">关 闭</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</r-dialog>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user