admin-fe/src/store/errLog.js
2017-04-18 15:09:13 +08:00

14 lines
179 B
JavaScript

const errLog = {
state: {
errLog: []
},
pushLog(log) {
this.state.errLog.unshift(log)
},
clearLog() {
this.state.errLog = [];
}
};
export default errLog;