UNPKG

bd-admin

Version:

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

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