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, {