|
@@ -57,10 +57,7 @@ export default {
|
|
|
}).then(() => {
|
|
|
this.$store.dispatch('SendLogs').then(() => {
|
|
|
this.$parent.$parent.box = false
|
|
|
- this.$message({
|
|
|
- type: 'success',
|
|
|
- message: '发送成功!'
|
|
|
- })
|
|
|
+ this.$message.success( '发送成功!')
|
|
|
})
|
|
|
}).catch(() => {
|
|
|
|
|
@@ -74,10 +71,7 @@ export default {
|
|
|
}).then(() => {
|
|
|
this.$store.commit('CLEAR_LOGS')
|
|
|
this.$parent.$parent.box = false
|
|
|
- this.$message({
|
|
|
- type: 'success',
|
|
|
- message: '清空成功!'
|
|
|
- })
|
|
|
+ this.$message.success( '清空成功!')
|
|
|
}).catch(() => {
|
|
|
|
|
|
})
|