wiz-frameworks
Version:
wizlong react framework
37 lines (30 loc) • 709 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
var _utils = require('../../utils');
exports['default'] = {
namespace: 'wiz_log_listener',
state: {},
/**
* 监听--跳转登录页时清除缓存
*/
subscriptions: {
setup: function setup(_ref) {
var history = _ref.history,
dispatch = _ref.dispatch;
return history.listen(function (params) {
_utils.logUtils.recordLog('rotue', params);
});
}
},
effects: {},
reducers: {}
}; /**
*
* @overview 路由
* @author mll
* @date 2019-9-26
*
*/
module.exports = exports['default'];