From c7b61248971c4b681671e73e871659951ae1ca7c Mon Sep 17 00:00:00 2001 From: iceling Date: Sat, 21 Dec 2019 16:15:34 +0800 Subject: [PATCH] 会员标签提交修改的时候把提示确定修改标签去掉 --- pages/user/labels/labels.js | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/pages/user/labels/labels.js b/pages/user/labels/labels.js index cc788b3..54f3dad 100644 --- a/pages/user/labels/labels.js +++ b/pages/user/labels/labels.js @@ -198,14 +198,7 @@ Page({ var my_confirm = th.selectComponent("#my_confirm"); //组件的id remark = "标签赠送"; if (is_modify) { - my_confirm.open( - "确定修改标签?", - "取消", - "确定", - function() { - my_confirm.open_cancel(0); - }, - function() { + my_confirm.open_cancel(0); getApp().request.put(url, { data: { @@ -235,8 +228,7 @@ Page({ } } }) - } - ) + } else { getApp().request.put(url, { -- libgit2 0.21.4