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