feat: 低代码文件编辑历史记录 crud 功能完成
This commit is contained in:
@@ -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: '测试'
|
||||
}
|
||||
});
|
||||
|
||||
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user