index-ec384b76.js 462 B

1
  1. import{d as s,c as r,e as i,q as c,f as t}from"./index-b0803577.js";const d="_wrap_1exio_1",p={wrap:d},w=s({name:"notation-a",setup(){const o=r().getToken||"";console.log(o);const n=i({src:"".concat(location.origin,"/notation/#/create?Authorization=").concat(o)}),a=e=>{e.data.api==="notation_open"&&window.open(e.data.url)};return c(()=>{window.addEventListener("message",a)}),()=>t("div",{class:p.wrap},[t("iframe",{src:n.src},null)])}});export{w as default};