Emperor_Shun_Reading/public/dist/assets/Index-b34d7738.js

2 lines
1.1 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

import{_ as e,i as a,a as s,b as t,o,c as n,f as d,e as r,w as l,h as c,t as i,p,k as u}from"./index-4c6e30ca.js";const f={data:()=>({data:[{content:"powershell.exe",id:"powershell.exe"}]}),methods:{openSoft(e){a.invoke(s.openSoftware,e).then((e=>{e||this.$message.error("程序不存在")}))}}},b={id:"app-base-software-open"},h=(e=>(p("data-v-90e4d11c"),e=e(),u(),e))((()=>d("div",{class:"one-block-1"},[d("span",null," 1. 调用其它软件exe、bash等可执行程序 "),d("p"),d("span",{class:"sub-content"}," 注请先将【powershell.exe】复制到【electron-egg/build/extraResources】目录中 ")],-1))),k={class:"one-block-2"};const m=e(f,[["render",function(e,a,s,p,u,f){const m=t("a-button"),x=t("a-list-item"),v=t("a-list");return o(),n("div",b,[h,d("div",k,[r(v,{bordered:"","data-source":u.data},{renderItem:l((({item:e})=>[r(x,{onClick:a=>f.openSoft(e.id)},{default:l((()=>[c(i(e.content)+" ",1),r(m,{type:"link"},{default:l((()=>[c(" 执行 ")])),_:1})])),_:2},1032,["onClick"])])),_:1},8,["data-source"])])])}],["__scopeId","data-v-90e4d11c"]]);export{m as default};