Showing
1 changed file
with
1 additions
and
1 deletions
@@ -110,7 +110,7 @@ function Dialog(options) { | @@ -110,7 +110,7 @@ function Dialog(options) { | ||
110 | } | 110 | } |
111 | 111 | ||
112 | // 绑定按钮事件 | 112 | // 绑定按钮事件 |
113 | - if (!opt.btns) { | 113 | + if (opt.btns) { |
114 | for (i = 0; i < opt.btns.length; i++) { | 114 | for (i = 0; i < opt.btns.length; i++) { |
115 | bindBtnEvt(i); | 115 | bindBtnEvt(i); |
116 | } | 116 | } |
-
Please register or login to post a comment