From 557007954db2217b4e9f28790f35581b303acbb1 Mon Sep 17 00:00:00 2001 From: yvan.ni Date: Thu, 5 Dec 2024 14:06:03 +0800 Subject: [PATCH] 服务的提示语的优化 --- components/my_confirm/my_confirm.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/my_confirm/my_confirm.js b/components/my_confirm/my_confirm.js index 2e60957..c3325f6 100644 --- a/components/my_confirm/my_confirm.js +++ b/components/my_confirm/my_confirm.js @@ -26,9 +26,9 @@ Component({ this.data.cancle = cancle; - var ck1=content.indexOf('购买该礼包'); - var ck2=content.indexOf('兑换该礼包'); - var ck3=content.indexOf('领取该礼包'); + var ck1=title.indexOf('购买该礼包'); + var ck2=title.indexOf('兑换该礼包'); + var ck3=title.indexOf('领取该礼包'); if(ck1>0 || ck2>0 || ck3>0){ this.setData({ -- libgit2 0.21.4