Commit c7b61248971c4b681671e73e871659951ae1ca7c
1 parent
efbf89cc
会员标签提交修改的时候把提示确定修改标签去掉
Showing
1 changed file
with
2 additions
and
10 deletions
pages/user/labels/labels.js
... | ... | @@ -198,14 +198,7 @@ Page({ |
198 | 198 | var my_confirm = th.selectComponent("#my_confirm"); //组件的id |
199 | 199 | remark = "标签赠送"; |
200 | 200 | if (is_modify) { |
201 | - my_confirm.open( | |
202 | - "确定修改标签?", | |
203 | - "取消", | |
204 | - "确定", | |
205 | - function() { | |
206 | - my_confirm.open_cancel(0); | |
207 | - }, | |
208 | - function() { | |
201 | + | |
209 | 202 | my_confirm.open_cancel(0); |
210 | 203 | getApp().request.put(url, { |
211 | 204 | data: { |
... | ... | @@ -235,8 +228,7 @@ Page({ |
235 | 228 | } |
236 | 229 | } |
237 | 230 | }) |
238 | - } | |
239 | - ) | |
231 | + | |
240 | 232 | } else { |
241 | 233 | |
242 | 234 | getApp().request.put(url, { | ... | ... |