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