import{i as s}from"./main-ce25b28f.js";import{i as a}from"./ipcRenderer-5e19eaee.js";import{_ as e,r as t,o as i,b as c,g as o,a as l,w as n,e as p,p as d,f as r}from"./index-265ac112.js";const f={data:()=>({picPath:"https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"}),methods:{selectPic(){a.invoke(s.selectPic,{}).then((s=>{this.picPath=s}))}}},u=s=>(d("data-v-d083fee8"),s=s(),r(),s),m={id:"os-file-pic"},h=u((()=>o("div",{class:"one-block-1"},[o("span",null," 1. 加载本机图片 ")],-1))),v={class:"one-block-2"},P=u((()=>o("p",null,null,-1)));const j=e(f,[["render",function(s,a,e,d,r,f){const u=t("a-button"),j=t("a-space"),k=t("a-image");return i(),c("div",m,[h,o("div",v,[l(j,null,{default:n((()=>[l(u,{onClick:a[0]||(a[0]=s=>f.selectPic(0))},{default:n((()=>[p("选择图片")])),_:1})])),_:1}),P,l(k,{width:500,src:r.picPath},null,8,["src"])])])}],["__scopeId","data-v-d083fee8"]]);export{j as default};
