From 2934e7ff8a580c38f4bc81a62141036c16d460be Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期五, 31 五月 2024 15:43:49 +0800 Subject: [PATCH] 最新版本 --- admin/src/components/common/GlobalWindow.vue | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/admin/src/components/common/GlobalWindow.vue b/admin/src/components/common/GlobalWindow.vue index c1d0c9c..359891b 100644 --- a/admin/src/components/common/GlobalWindow.vue +++ b/admin/src/components/common/GlobalWindow.vue @@ -21,6 +21,7 @@ <div v-if="withFooter" class="window__footer"> <slot name="footer"> <el-button @click="confirm" :loading="confirmWorking" type="primary">{{text}}</el-button> + <slot name="btns" /> <el-button @click="close">{{ backText }}</el-button> </slot> </div> @@ -70,6 +71,7 @@ this.$emit('confirm') }, close () { + this.$emit('close') this.$emit('update:visible', false) } } -- Gitblit v1.9.3