(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d8876de8"],{"4ef5":function(t,n,e){"use strict";e.r(n);var a=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("a-list",{attrs:{id:"set",itemLayout:"horizontal"}},[e("a-list-item",{staticStyle:{"text-align":"left"},scopedSlots:t._u([{key:"actions",fn:function(){return[e("a-switch",{attrs:{checkedChildren:"开",unCheckedChildren:"关"},on:{change:function(n){return t.autoLaunchChange(t.autoLaunchChecked)}},model:{value:t.autoLaunchChecked,callback:function(n){t.autoLaunchChecked=n},expression:"autoLaunchChecked"}})]},proxy:!0}])},[e("a-list-item-meta",{scopedSlots:t._u([{key:"title",fn:function(){return[e("a",[t._v("启动")])]},proxy:!0},{key:"description",fn:function(){return[e("span",[t._v(" 开机自动启动 ")])]},proxy:!0}])})],1)],1)},u=[],c=e("a358"),o={data:function(){return{autoLaunchChecked:!1}},mounted:function(){this.autoLaunchInit()},methods:{autoLaunchInit:function(){var t=this;Object(c["c"])({}).then((function(n){if(0!==n.code)return!1;t.autoLaunchChecked=n.data.isEnabled})).catch((function(t){console.log("err:",t)}))},autoLaunchChange:function(t){var n=this,e={checkStatus:t};t?Object(c["b"])(e).then((function(t){if(0!==t.code)return!1;n.autoLaunchChecked=t.data.isEnabled})).catch((function(t){console.log("err:",t)})):Object(c["a"])(e).then((function(t){if(0!==t.code)return!1;n.autoLaunchChecked=t.data.isEnabled})).catch((function(t){console.log("err:",t)}))}}},i=o,r=(e("5ab8"),e("2877")),h=Object(r["a"])(i,a,u,!1,null,"3034c2a0",null);n["default"]=h.exports},"5ab8":function(t,n,e){"use strict";e("db6a")},a358:function(t,n,e){"use strict";e.d(n,"d",(function(){return c})),e.d(n,"b",(function(){return o})),e.d(n,"a",(function(){return i})),e.d(n,"c",(function(){return r}));var a=e("b775"),u={outApi:"/api/v1/outApi",openDir:"/api/v1/example/openLocalDir",uploadFile:"/api/v1/example/uploadFile",autoLaunchEnable:"/api/v1/setting/autoLaunchEnable",autoLaunchDisable:"/api/v1/setting/autoLaunchDisable",autoLaunchIsEnabled:"/api/v1/setting/autoLaunchIsEnabled"};function c(t){return Object(a["b"])({url:u.openDir,method:"post",data:t})}function o(t){return Object(a["b"])({url:u.autoLaunchEnable,method:"post",data:t})}function i(t){return Object(a["b"])({url:u.autoLaunchDisable,method:"post",data:t})}function r(t){return Object(a["b"])({url:u.autoLaunchIsEnabled,method:"post",data:t})}},db6a:function(t,n,e){}}]); //# sourceMappingURL=chunk-d8876de8.bbf9e544.js.map