(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c46107aa"],{"75b7":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("h3",{style:{marginBottom:"16px"}},[e._v(" demo5 调用其它软件(exe、bash等可执行程序) ")]),e._v(" 注:请先将【powershell.exe】复制到【electron-egg/build/extraResources】目录中 "),a("a-list",{attrs:{bordered:"","data-source":e.data},scopedSlots:e._u([{key:"renderItem",fn:function(t){return a("a-list-item",{on:{click:function(a){return e.openSoft(t.id)}}},[e._v(" "+e._s(t.content)+" "),a("a-button",{attrs:{type:"link"}},[e._v(" 执行 ")])],1)}}])})],1)},o=[],u=a("a358"),i=[{content:"powershell.exe",id:"powershell"}],l={data:function(){return{data:i}},methods:{openSoft:function(e){var t=this;console.log("id:",e),Object(u["a"])("openSoftware",{}).then((function(e){if(0!==e.code)return t.$message.info(e.msg),!1})).catch((function(e){console.log("err:",e)}))}}},r=l,c=a("2877"),p=Object(c["a"])(r,n,o,!1,null,null,null);t["default"]=p.exports},a358:function(e,t,a){"use strict";a.d(t,"a",(function(){return u}));var n=a("b775"),o={outApi:"/api/v1/outApi",openDir:"/api/v1/example/openLocalDir",uploadFile:"/api/v1/example/uploadFile",executeJS:"/api/v1/example/executeJS",setShortcut:"/api/v1/example/setShortcut",autoLaunchEnable:"/api/v1/example/autoLaunchEnable",autoLaunchDisable:"/api/v1/example/autoLaunchDisable",autoLaunchIsEnabled:"/api/v1/example/autoLaunchIsEnabled",openSoftware:"/api/v1/example/openSoftware"};function u(e,t){return Object(n["b"])({url:o[e],method:"post",data:t})}}}]); //# sourceMappingURL=chunk-c46107aa.48db94b2.js.map