Skip to content

Commit

Permalink
Merge pull request #11 from fleurWang/master
Browse files Browse the repository at this point in the history
fix-bug
  • Loading branch information
fleurWang committed Dec 8, 2015
2 parents 42d8daf + 1d8ba16 commit b760ee1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dialog",
"version": "0.0.8",
"version": "0.0.9",
"main": "dialog.js",
"description": "公共弹窗组件",
"files":[
Expand Down
2 changes: 1 addition & 1 deletion dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ d.confirm = function (cfg) {
}
};

if(! cfg.swapBtn){
if(! opts.swapBtn){
btn.push(cancelObj);
btn.push(confirmObj);
}else{
Expand Down

0 comments on commit b760ee1

Please sign in to comment.