commit
0c78f29907
1 changed files with 4 additions and 0 deletions
|
|
@ -136,6 +136,10 @@ const app = new Vue({
|
|||
this.response.body = xhr.responseText
|
||||
}
|
||||
}
|
||||
xhr.onerror = e => {
|
||||
this.response.status = '0'
|
||||
this.response.body = 'Error ;('
|
||||
}
|
||||
},
|
||||
addRequestParam() {
|
||||
this.params.push({
|
||||
|
|
|
|||
Loading…
Reference in a new issue