ElemeFE / ElemeFE/vue-msgbox

MessageBox not showing correctly

Open
#6 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
233
Forks
80
PR merge metrics
No merged PRs in 30d

Description

The message box isn't showing correctly, probably my own fault but not sure what I am doing wrong:
![vue msgbox](https://cloud.githubusercontent.com/assets/9930428/14020667/72e22420-f1d8-11e5-951d-401592e0627b.png)

code:

``` javascript

import $ from 'jquery'

import MessageBox from 'vue-msgbox'

export default {
components: {
// not important...
},
data: function () {
return {
// not important...
}
},
computed: {
FullName: function () {
return this.employee.Firstname + ' ' + this.employee.Lastname
}
},
created: function () {
//not important...
},
events: {
},
methods: {
handleFlightRequestPost: function (e) {
MessageBox.alert('nice', 'works', 'success')
console.log('heerer')
$.ajax({
//not important..
},
signatureEmployeeInsert: function (e) {
//not important...
},
handleUpload: function (e) {
//not important
}
}
}
}

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.