feat: 弹窗组件修改
This commit is contained in:
parent
4a4f6107ab
commit
6203cf9ab9
@ -23,7 +23,7 @@
|
||||
<slot></slot>
|
||||
<template #footer>
|
||||
<div class="dialog-footer" :class="footerClass">
|
||||
<el-button class="button" size="large" type="primary" @click="onConfirm"> {{ onConfirmName || '保存' }} </el-button>
|
||||
<el-button v-if="onConfirm" class="button" size="large" type="primary" @click="onConfirm"> {{ onConfirmName || '保存' }} </el-button>
|
||||
<el-button class="button" size="large" :type="onCancelType" @click="onCancel"> {{ onCancelName || '取消' }} </el-button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user