feat: 低代码文件编辑历史记录 crud 功能完成

This commit is contained in:
wangxuefeng
2025-03-01 15:38:53 +08:00
parent 5c4aa42ecf
commit e052752694
11 changed files with 161 additions and 64 deletions

View File

@@ -10,16 +10,16 @@ import {
// type ProjectModel
} from '@vtj/pro';
import { StorageService } from '@/service';
import { LowCodeService } from '@/service';
const container = ref();
const service = new StorageService();
const service = new LowCodeService();
const engine = new Engine({
container,
service,
project: {
id: 'test',
id: '2',
name: '测试'
}
});

View File

@@ -5,14 +5,13 @@
import { ref, getCurrentInstance } from 'vue';
import { useRoute } from 'vue-router';
import { createProvider, ContextMode } from '@vtj/pro';
import { StorageService } from '@/service';
const service = new StorageService();
import { LowCodeService } from '@/service';
const service = new LowCodeService();
const { provider, onReady } = createProvider({
mode: ContextMode.Runtime,
service,
project: {
id: 'test',
name: '测试'
id: '2'
},
dependencies: {
Vue: () => import('vue'),