From c790779e2c578d892e184932c660023eb4d466aa Mon Sep 17 00:00:00 2001
From: zzzz <690498789@qq.com>
Date: Tue, 26 Mar 2024 23:40:20 +0800
Subject: [PATCH] 注册页面的客服地址错误
---
src/components/Dialog/index.vue | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/components/Dialog/index.vue b/src/components/Dialog/index.vue
index ef6d8a5..591b92d 100644
--- a/src/components/Dialog/index.vue
+++ b/src/components/Dialog/index.vue
@@ -13,7 +13,7 @@
<div class="cancel-dialog" @click="show = false" v-if="showCancelButton">
{{ cancelButtonText }}
</div>
- <div class="confirm-dialog" v-if="showConfirmButton">
+ <div class="confirm-dialog" v-if="showConfirmButton" @click="confirm">
{{ confirmButtonText }}
</div>
</div>
@@ -44,6 +44,10 @@
type: Boolean,
default: true,
},
+ confirm: {
+ type: Function,
+ default: () => {},
+ },
},
components: {
[Dialog.Component.name]: Dialog.Component,
@@ -53,7 +57,7 @@
show: false,
};
},
- closeAll() {},
+ methods: {},
};
</script>
--
Gitblit v1.9.3