Files
electron-egg/public/dist/js/chunk-94d99d1e.8d23fa95.js
wallace5303 7d70aa5919 vue
2022-02-23 23:28:39 +08:00

2 lines
2.8 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-94d99d1e"],{"0570":function(e,o,t){"use strict";t.r(o);var r=function(){var e=this,o=e.$createElement,t=e._self._c||o;return t("div",{attrs:{id:"app-base-software-open"}},[e._m(0),t("div",{staticClass:"one-block-2"},[t("a-list",{attrs:{bordered:"","data-source":e.data},scopedSlots:e._u([{key:"renderItem",fn:function(o){return t("a-list-item",{on:{click:function(t){return e.openSoft(o.id)}}},[e._v(" "+e._s(o.content)+" "),t("a-button",{attrs:{type:"link"}},[e._v(" 执行 ")])],1)}}])})],1)])},n=[function(){var e=this,o=e.$createElement,t=e._self._c||o;return t("div",{staticClass:"one-block-1"},[t("span",[e._v(" 1. 调用其它软件exe、bash等可执行程序 ")]),t("p"),t("span",{staticClass:"sub-content"},[e._v(" 注请先将【powershell.exe】复制到【electron-egg/build/extraResources】目录中 ")])])}],a=t("a358"),l=[{content:"powershell.exe",id:"powershell.exe"}],c={data:function(){return{data:l}},methods:{openSoft:function(e){var o=this;this.$ipcCall(a["a"].openSoftware,e).then((function(e){e||o.$message.error("程序不存在")}))}}},s=c,p=(t("3ae5"),t("2877")),i=Object(p["a"])(s,r,n,!1,null,"a899c27c",null);o["default"]=i.exports},"3ae5":function(e,o,t){"use strict";t("77c3")},"77c3":function(e,o,t){},a358:function(e,o,t){"use strict";t.d(o,"b",(function(){return c})),t.d(o,"a",(function(){return a})),t.d(o,"c",(function(){return l}));var r=t("b775"),n={uploadFile:"/api/example/uploadFile",openSoftware:"/api/example/openSoftware",messageShow:"/api/example/messageShow",messageShowConfirm:"/api/example/messageShowConfirm",dbOperation:"/api/example/dbOperation",test1:"/api/example/test1"},a={messageShow:"controller.example.messageShow",messageShowConfirm:"controller.example.messageShowConfirm",selectFolder:"controller.example.selectFolder",openDirectory:"controller.example.openDirectory",socketMessageStart:"controller.example.socketMessageStart",socketMessageStop:"controller.example.socketMessageStop",hello:"controller.example.hello",executeJS:"controller.example.executeJS",loadViewContent:"controller.example.loadViewContent",removeViewContent:"controller.example.removeViewContent",createWindow:"controller.example.createWindow",sendNotification:"controller.example.sendNotification",initPowerMonitor:"controller.example.initPowerMonitor",getScreen:"controller.example.getScreen",openSoftware:"controller.example.openSoftware",autoLaunch:"controller.example.autoLaunch",setTheme:"controller.example.setTheme",getTheme:"controller.example.getTheme",checkForUpdater:"controller.example.checkForUpdater",downloadApp:"controller.example.downloadApp",dbOperation:"controller.example.dbOperation",uploadFile:"controller.example.uploadFile"},l={appUpdater:"app.updater"},c=function(e,o){return Object(r["b"])({url:n[e],method:"post",data:o})}}}]);
//# sourceMappingURL=chunk-94d99d1e.8d23fa95.js.map