-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support options api call for service component
- Loading branch information
1 parent
b2ee721
commit c850826
Showing
4 changed files
with
24 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
import MessageBox from './src/MessageBox.js' | ||
import MessageBoxComponent from './src/MessageBox.vue' | ||
|
||
export function useMsgbox() { | ||
return MessageBox | ||
} | ||
|
||
export default MessageBoxComponent | ||
export default { | ||
service: MessageBox | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,6 @@ export function useMessage() { | |
return Message | ||
} | ||
|
||
export default Message | ||
export default { | ||
service: Message | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
import Notification from './Notification.js' | ||
import NotificationComponent from './Notification.vue' | ||
|
||
export function useNotify() { | ||
return Notification | ||
} | ||
|
||
export default NotificationComponent | ||
export default { | ||
service: Notification | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters