Skip to content

Commit

Permalink
feat: messageBox api add $ prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
cuixiaorui committed Nov 10, 2020
1 parent 1423225 commit a558746
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/message-box/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import MessageBoxComponent from './src/MessageBox.vue'

export function useMsgbox() {
return {
msgbox: MessageBox,
alert: MessageBox.alert,
confirm: MessageBox.confirm,
prompt: MessageBox.prompt
$msgbox: MessageBox,
$alert: MessageBox.alert,
$confirm: MessageBox.confirm,
$prompt: MessageBox.prompt
}
}

Expand Down

0 comments on commit a558746

Please sign in to comment.