no message

Former-commit-id: 9750308bef790df38a3ef6bcba316fb0f9697866 [formerly 9750308bef790df38a3ef6bcba316fb0f9697866 [formerly 9750308bef790df38a3ef6bcba316fb0f9697866 [formerly 9750308bef790df38a3ef6bcba316fb0f9697866 [formerly 0479091286ca61f30b123810db0a87196eb3dac1 [formerly 61ec8193c62099b658488bb91d60dd1abeddb91e]]]]]
Former-commit-id: 273d4d2602874c9604866d0a9af1ec8d5fe9cd3c
Former-commit-id: 8b55642a785c01930f42ff8fe14ba4dd88b7d4aa
Former-commit-id: 671e44d2cd87e2c454fe1c302e6ce760dedb12f6 [formerly 143ea9e6283c5f3106ee3b9beaa46c6eb046dc45]
Former-commit-id: 0a5cc3c3446d71c20881750235c6427238f620cf
Former-commit-id: 8c8b365399c92d91d971505edcbaa080e8fed779
Former-commit-id: 35e40f3cf4ce652c06583f715736cb7bab335e23
Former-commit-id: f5e3930b893573dcfc82aa8d5d663db56d7656a4
Former-commit-id: f4728a96b3be4e92709c1e5b813fe155be5d1bfd
This commit is contained in:
liyang
2018-09-18 10:04:36 +08:00
parent ded0f48e02
commit e50c58d8a2

View File

@@ -24,16 +24,6 @@ export default {
return state.list.filter(l => l.type === 'error').length return state.list.filter(l => l.type === 'error').length
} }
}, },
mutations: {
/**
* @description 清空日志
* @param {Object} state vuex state
*/
clean (state) {
// store 赋值
state.list = []
}
},
actions: { actions: {
/** /**
* @description 添加一个日志 * @description 添加一个日志
@@ -70,5 +60,15 @@ export default {
info: toString(info) info: toString(info)
})) }))
} }
},
mutations: {
/**
* @description 清空日志
* @param {Object} state vuex state
*/
clean (state) {
// store 赋值
state.list = []
}
} }
} }