empty log when nothing is there to show
This commit is contained in:
parent
9ac74220d4
commit
f9e65e8dac
@ -93,6 +93,8 @@ export default {
|
||||
|
||||
if (response.data.log) {
|
||||
this.currentLog = response.data.log
|
||||
} else {
|
||||
this.currentLog = ''
|
||||
}
|
||||
},
|
||||
async getSystemLog () {
|
||||
@ -101,6 +103,8 @@ export default {
|
||||
|
||||
if (response.data.data) {
|
||||
this.currentLog = response.data.data
|
||||
} else {
|
||||
this.currentLog = ''
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user