admin-fe/src/store/errLog.js

14 lines
179 B
JavaScript
Raw Normal View History

2017-04-18 07:09:13 +00:00
const errLog = {
state: {
errLog: []
},
pushLog(log) {
this.state.errLog.unshift(log)
},
clearLog() {
this.state.errLog = [];
}
};
export default errLog;