diff --git a/auto-imports.d.ts b/auto-imports.d.ts index b5f3cd1..5e4632f 100644 --- a/auto-imports.d.ts +++ b/auto-imports.d.ts @@ -3,6 +3,7 @@ // @ts-nocheck // noinspection JSUnusedGlobalSymbols // Generated by unplugin-auto-import +// biome-ignore lint: disable export {} declare global { const EffectScope: typeof import('vue')['EffectScope'] @@ -303,6 +304,6 @@ declare global { // for type re-export declare global { // @ts-ignore - export type { Component, ComponentPublicInstance, ComputedRef, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, VNode, WritableComputedRef } from 'vue' + export type { Component, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue' import('vue') } diff --git a/preview/views/MainView.vue b/preview/views/MainView.vue index 41643c8..f79a56e 100644 --- a/preview/views/MainView.vue +++ b/preview/views/MainView.vue @@ -55,7 +55,7 @@
- +
@@ -76,9 +76,9 @@ import axios from 'axios'; let componentsList = []; const store = useSchemeStore(); -// watch(store, (n) => { -// console.log("store发生了变化", n); -// }); +watch(store, (n) => { + console.log("store发生了变化", n); +}); const baseScheme = { "type": "AdaptivePage", @@ -157,24 +157,24 @@ function clone(element: Record<'name' | 'id' | 'type' | 'props' | 'class' | 'tex } const onEnd = (event: DraggableEvent) => { - console.log("onEnd", event); + // console.log("onEnd", event); store.nowComponentsData = event.clonedData; }; const onStart = (event) => { - console.log("onStart", event); + // console.log("onStart", event); }; const onPreviewStart = (event) => { - console.log("onPreviewStart", event); + // console.log("onPreviewStart", event); }; const onPreviewUpdate = (event) => { - console.log("onPreviewUpdate", event); + // console.log("onPreviewUpdate", event); }; const onPreviewStop = (event) => { - console.log(event); + // console.log(event); }; const save = async () => { diff --git a/src/components/DynamicComponent.vue b/src/components/DynamicComponent.vue index b2ff247..8b9fbdf 100644 --- a/src/components/DynamicComponent.vue +++ b/src/components/DynamicComponent.vue @@ -1,21 +1,21 @@