This commit is contained in:
ln1778 2024-06-20 16:58:11 +08:00
parent d48769ef40
commit 9538b97dfe
2 changed files with 4 additions and 2 deletions

View File

@ -39,7 +39,9 @@ const install = function (Vue,options) {
if (install.installed) return; if (install.installed) return;
install.installed = true; install.installed = true;
// 遍历并注册全局组件 // 遍历并注册全局组件
if(options.VUE_APP_BASE_API){
window.VUE_APP_BASE_API=options.VUE_APP_BASE_API;
}
Vue.use(DataDict, { Vue.use(DataDict, {
//数据字典元信息 //数据字典元信息
metas: { metas: {

View File

@ -1,6 +1,6 @@
{ {
"name": "erp-element-ui", "name": "erp-element-ui",
"version": "1.0.48", "version": "1.0.49",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {