import{_ as e,i as n,h as l,j as a,r as o,o as i,b as t,g as d,a as s,w,e as c,p as u,f as b}from"./index-ea5b20ee.js";const p={data:()=>({views:[{type:"web",content:"https://www.bilibili.com/",windowName:"window-web",windowTitle:"bilibili"},{type:"html",content:"/public/html/view_example.html",windowName:"window-html",windowTitle:"html window"},{type:"vue",content:"#/special/subwindow",windowName:"window-vue",windowTitle:"vue window"}]}),methods:{createWindow(e){n.invoke(l.createWindow,a(this.views[e])).then((e=>{console.log(e)}))}}},v=e=>(u("data-v-f82edd5f"),e=e(),b(),e),m={id:"app-base-window"},f=v((()=>d("div",{class:"one-block-1"},[d("span",null," 1. 新窗口中加载web内容 ")],-1))),r={class:"one-block-2"},h=v((()=>d("div",{class:"one-block-1"},[d("span",null," 2. 新窗口中加载html内容 ")],-1))),k={class:"one-block-2"},_=v((()=>d("div",{class:"one-block-1"},[d("span",null," 3. 新窗口中加载当前项目页面 ")],-1))),W={class:"one-block-2"};const x=e(p,[["render",function(e,n,l,a,u,b){const p=o("a-button"),v=o("a-space");return i(),t("div",m,[f,d("div",r,[s(v,null,{default:w((()=>[s(p,{onClick:n[0]||(n[0]=e=>b.createWindow(0))},{default:w((()=>[c("打开哔哩哔哩")])),_:1})])),_:1})]),h,d("div",k,[s(v,null,{default:w((()=>[s(p,{onClick:n[1]||(n[1]=e=>b.createWindow(1))},{default:w((()=>[c("打开html页面")])),_:1})])),_:1})]),_,d("div",W,[s(v,null,{default:w((()=>[s(p,{onClick:n[2]||(n[2]=e=>b.createWindow(2))},{default:w((()=>[c("打开vue页面")])),_:1})])),_:1})])])}],["__scopeId","data-v-f82edd5f"]]);export{x as default};