工作流表单+模型代码提交
This commit is contained in:
58
src/main.ts
58
src/main.ts
@@ -24,29 +24,43 @@ VXETable.use(VXETablePluginExportXLSX, {
|
||||
})
|
||||
window.XEUtils = XEUtils
|
||||
|
||||
|
||||
const app = createApp(App)
|
||||
//开启离线地图
|
||||
// app.use(BaiduMapOffline, {
|
||||
// offline: true,
|
||||
// offlineUrl: window.location.origin + '/map/',
|
||||
// });
|
||||
app.use(BaiduMap, {
|
||||
ak: 'Yp57V71dkOPiXjiN8VdcFRsVELzlVNKK',
|
||||
v: '3.0',
|
||||
});
|
||||
// 初始化多语言
|
||||
import { setupI18n } from '@/plugins/vueI18n'
|
||||
|
||||
|
||||
import VForm3 from 'vform3-builds' //引入VForm3库
|
||||
import 'vform3-builds/dist/designer.style.css' //引入VForm3样式
|
||||
// 引入 form-create
|
||||
import { setupFormCreate } from '@/plugins/formCreate'
|
||||
|
||||
app.use(router)
|
||||
app.use(pinia)
|
||||
app.use(ElementPlus)
|
||||
app.use(VXETable)
|
||||
app.use(VForm3);
|
||||
;(app._context.components.ElDialog as typeof ElDialog).props.closeOnClickModal.default = false
|
||||
registerIcons(app) // icons
|
||||
// 创建实例
|
||||
const setupAll = async () => {
|
||||
|
||||
app.mount('#app')
|
||||
app.config.globalProperties.eventBus = mitt()
|
||||
const app = createApp(App)
|
||||
|
||||
//开启离线地图
|
||||
// app.use(BaiduMapOffline, {
|
||||
// offline: true,
|
||||
// offlineUrl: window.location.origin + '/map/',
|
||||
// });
|
||||
app.use(BaiduMap, {
|
||||
ak: 'Yp57V71dkOPiXjiN8VdcFRsVELzlVNKK',
|
||||
v: '3.0',
|
||||
});
|
||||
|
||||
await setupI18n(app)
|
||||
app.use(router)
|
||||
app.use(pinia)
|
||||
app.use(ElementPlus)
|
||||
app.use(VXETable)
|
||||
;(app._context.components.ElDialog as typeof ElDialog).props.closeOnClickModal.default = false
|
||||
registerIcons(app) // icons
|
||||
|
||||
app.config.globalProperties.eventBus = mitt()
|
||||
|
||||
setupFormCreate(app)
|
||||
|
||||
await router.isReady()
|
||||
|
||||
app.mount('#app')
|
||||
}
|
||||
|
||||
setupAll()
|
||||
|
||||
Reference in New Issue
Block a user