feat: 渲染器支持 echart 渲染
This commit is contained in:
@@ -17,14 +17,15 @@
|
||||
"@sentry/vue": "^9.5.0",
|
||||
"@sy/web-vitals": "workspace:*",
|
||||
"@tanstack/vue-query": "^5.66.9",
|
||||
"@vtj/core": "^0.11.1",
|
||||
"@vtj/icons": "0.11.1",
|
||||
"@vtj/materials": "^0.11.1",
|
||||
"@vtj/pro": "^0.11.1",
|
||||
"@vtj/renderer": "^0.11.1",
|
||||
"@vtj/ui": "^0.11.1",
|
||||
"@vtj/utils": "^0.11.1",
|
||||
"@vtj/web": "^0.11.1",
|
||||
"@vtj/charts": "^0.11.2",
|
||||
"@vtj/core": "^0.11.2",
|
||||
"@vtj/icons": "0.11.2",
|
||||
"@vtj/materials": "^0.11.2",
|
||||
"@vtj/pro": "^0.11.2",
|
||||
"@vtj/renderer": "^0.11.2",
|
||||
"@vtj/ui": "^0.11.2",
|
||||
"@vtj/utils": "^0.11.2",
|
||||
"@vtj/web": "^0.11.2",
|
||||
"axios": "catalog:",
|
||||
"core-js": "^3.40.0",
|
||||
"element-plus": "catalog:",
|
||||
|
||||
@@ -2,6 +2,7 @@ import { createApp } from 'vue';
|
||||
|
||||
import * as Sentry from '@sentry/vue';
|
||||
import { VueQueryPlugin } from '@tanstack/vue-query';
|
||||
import * as VtjCharts from '@vtj/charts';
|
||||
import { IconsPlugin } from '@vtj/icons';
|
||||
import * as VtjUI from '@vtj/ui';
|
||||
import ElementPlus from 'element-plus';
|
||||
@@ -22,6 +23,9 @@ Sentry.init({
|
||||
Object.entries(VtjUI).forEach(([name, component]) => {
|
||||
app.component(name, component);
|
||||
});
|
||||
Object.entries(VtjCharts).forEach(([name, component]) => {
|
||||
app.component(name, component);
|
||||
});
|
||||
app
|
||||
.use(ElementPlus)
|
||||
.use(IconsPlugin)
|
||||
|
||||
@@ -16,7 +16,6 @@ export class LowCodeService extends BaseService {
|
||||
public async init(project: ProjectSchema) {
|
||||
// @ts-ignore 忽略错误
|
||||
const remoteProject = await getProject(project.id);
|
||||
console.log('remoteProject', remoteProject);
|
||||
const model = new ProjectModel(remoteProject);
|
||||
const dsl = model.toDsl();
|
||||
return dsl;
|
||||
|
||||
Reference in New Issue
Block a user