"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const Vue = require("vue");
function getInstanceGlobals() {
  const ctx = Vue.getCurrentInstance();
  if (!ctx || !ctx.proxy) {
    console.warn("组件实例无效，无法获取全局对象");
    return null;
  }
  return ctx.proxy;
}
function getCurrentVueInstance() {
  return getInstanceGlobals();
}
exports.getCurrentVueInstance = getCurrentVueInstance;
exports.getInstanceGlobals = getInstanceGlobals;
