fix:更新ts配置文件
This commit is contained in:
@ -31,12 +31,7 @@
|
|||||||
ghost-class="ghost"
|
ghost-class="ghost"
|
||||||
class="canvas"
|
class="canvas"
|
||||||
>
|
>
|
||||||
<template v-for="item in store.previewScheme" :key="item.id">
|
<NestedFunction v-model="store.previewScheme"></NestedFunction>
|
||||||
<component
|
|
||||||
:is="componentsList[item?.code]"
|
|
||||||
:data="item"
|
|
||||||
></component>
|
|
||||||
</template>
|
|
||||||
</VueDraggable>
|
</VueDraggable>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class="right">-->
|
<!-- <div class="right">-->
|
||||||
@ -47,11 +42,12 @@
|
|||||||
</template>
|
</template>
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import {VueDraggable} from "vue-draggable-plus";
|
import {VueDraggable} from "vue-draggable-plus";
|
||||||
import {onMounted, ref, watch} from 'vue';
|
import {onMounted, watch} from 'vue';
|
||||||
import {uuid} from 'lsp-uuid';
|
import {uuid} from 'lsp-uuid';
|
||||||
import {componentScheme} from "@/schemes/scheme";
|
import {componentScheme} from "@/schemes/scheme";
|
||||||
import {useSchemeStore} from '@/stores/useSchemeStore';
|
import {useSchemeStore} from '@/stores/useSchemeStore';
|
||||||
import {IComponent} from "@/type/IComponent";
|
import {IComponent} from "@/type/IComponent";
|
||||||
|
import NestedFunction from "@/components/NestedFunction.vue";
|
||||||
|
|
||||||
|
|
||||||
let componentsList = [];
|
let componentsList = [];
|
||||||
|
|||||||
@ -6,17 +6,17 @@
|
|||||||
"es2020",
|
"es2020",
|
||||||
"es2015.promise"
|
"es2015.promise"
|
||||||
],
|
],
|
||||||
/* Bundler mode */
|
|
||||||
"module": "esnext",
|
"module": "esnext",
|
||||||
"moduleResolution": "node",
|
/* Bundler mode */
|
||||||
|
/* Linting */
|
||||||
|
"compilerOptions": {
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"declaration": false,
|
"declaration": false,
|
||||||
"emitDecoratorMetadata": true,
|
"emitDecoratorMetadata": true,
|
||||||
"allowSyntheticDefaultImports": true,
|
|
||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
/* Linting */
|
"emitDeclarationOnly": true,
|
||||||
"compilerOptions": {
|
"allowImportingTsExtensions": true,
|
||||||
"allowSyntheticDefaultImports": true,
|
"allowSyntheticDefaultImports": true,
|
||||||
"jsx": "preserve",
|
"jsx": "preserve",
|
||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user