UNPKG

bd-admin

Version:

一款能根据需求快速配置vue后台管理的脚手架

9 lines (8 loc) 235 B
import { getCurrentInstance } from "vue"; export default function () { const get = getCurrentInstance(); if (!get) return; const { config: { globalProperties }, } = get.appContext; return globalProperties.$t; }