From 053c5c34831e36380974cbf0432ce3690ec8f8d7 Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Fri, 30 Sep 2022 11:22:40 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=8F=90=E7=A4=BA=E6=A1=86=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E5=8A=A8=E6=80=81=E6=8C=89=E9=92=AE=E6=96=87=E5=AD=97?= =?UTF-8?q?=E3=80=81=E5=8C=BA=E5=88=86=E5=85=B3=E9=97=AD=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- v1_5_0_C/modelPop.js | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/v1_5_0_C/modelPop.js b/v1_5_0_C/modelPop.js index 4e2c86e..6103dab 100644 --- a/v1_5_0_C/modelPop.js +++ b/v1_5_0_C/modelPop.js @@ -8,12 +8,12 @@ const modelPop = {

我知道了

+ @click='colesFunction(1)' + >{{bottom_text}}

+ @click="colesFunction(0)"> `, props: { @@ -33,14 +33,19 @@ const modelPop = { status: { type: Number, default: 1 + }, + bottom_text: { + type: String, + default: "我知道了" } }, methods: { /* 关闭 */ - colesFunction() { + colesFunction(type) { + /* type 关闭方式 */ this.$emit("update:show", false) - this.$emit("back_function") + this.$emit("back_function", type) } } }