33.84678724.async.js 633 Bytes
Newer Older
afc163's avatar
Updates  
afc163 committed
1
webpackJsonp([33],{790:function(e,t,a){"use strict";function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=a(15),n=s(r),u=a(129),c=s(u),f=a(319);t.default={namespace:"monitor",state:{tags:[]},effects:{fetchTags:c.default.mark(function e(t,a){var s,r=a.call,n=a.put;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r(f.queryTags);case 2:return s=e.sent,e.next=5,n({type:"saveTags",payload:s.list});case 5:case"end":return e.stop()}},e,this)})},reducers:{saveTags:function(e,t){return(0,n.default)({},e,{tags:t.payload})}}},e.exports=t.default}});