Files
monisuo/monisuo-admin/dist/assets/createContext-BefgL9WT.js
2026-03-22 23:32:23 +08:00

1 line
385 B
JavaScript

import{B as e,k as t}from"./vue.runtime.esm-bundler-DQjudA8G.js";function n(n,r){let i=typeof n==`string`&&!r?`${n}Context`:r,a=Symbol(i);return[e=>{let r=t(a,e);if(r||r===null)return r;throw Error(`Injection \`${a.toString()}\` not found. Component must be used within ${Array.isArray(n)?`one of the following components: ${n.join(`, `)}`:`\`${n}\``}`)},t=>(e(a,t),t)]}export{n as t};