Fix bug
This commit is contained in:
parent
e477de6dd0
commit
fa1a85f682
6 changed files with 45 additions and 52 deletions
|
|
@ -1,10 +1,9 @@
|
|||
import OS from '../../mios';
|
||||
import Notification from '../views/components/ui-notification.vue';
|
||||
|
||||
export default function(message) {
|
||||
const vm = new Notification({
|
||||
propsData: {
|
||||
message
|
||||
}
|
||||
}).$mount();
|
||||
export default (os: OS) => message => {
|
||||
const vm = os.new(Notification, {
|
||||
message
|
||||
});
|
||||
document.body.appendChild(vm.$el);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue