changan-inspection/src/common/plugins/index.js
zhanghao 22c6e99944 feat:添加代码生成和导入表功能
- 实现了genInfoForm.vue,用于生成具有各种选项的代码模板。
- 创建了importTable.vue,用于导入具有搜索和选择功能的数据库表。
- 开发了index.vue来管理表格生成,包括搜索、创建、导入和删除功能。
- 添加了swagger index.vue,用于在iframe中显示API文档。
2026-12-01 11:50:14 +08:00

19 lines
506 B
JavaScript

import tab from './tab'
import auth from './auth'
import cache from './cache'
import modal from './modal'
import download from './download'
export default function installPlugins(app){
// 页签操作
app.config.globalProperties.$tab = tab
// 认证对象
app.config.globalProperties.$auth = auth
// 缓存对象
app.config.globalProperties.$cache = cache
// 模态框对象
app.config.globalProperties.$modal = modal
// 下载文件
app.config.globalProperties.$download = download
}