diff --git a/.gitignore b/.gitignore index d0788e7..d2e6e3a 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,4 @@ dist-ssr package-lock.json src/utils/*.cjs src/**/*.js +/stats.html diff --git a/preview/views/MainView.vue b/preview/views/MainView.vue index f6e57d5..f3b09c0 100644 --- a/preview/views/MainView.vue +++ b/preview/views/MainView.vue @@ -53,7 +53,7 @@ import NestedFunction from "@/components/NestedFunction.vue"; let componentsList = []; const store = useSchemeStore(); -watch(store, (n, e) => { +watch(store, (n) => { console.log("数据", n); }); @@ -127,6 +127,7 @@ const clone = function (element: IComponent) { } const onEnd = (obj: any) => { + console.log(obj) // const {oldDraggableIndex} = obj; // store.previewData(store.component[oldDraggableIndex]); // store.nowComponentsData(store.component[oldDraggableIndex]); @@ -183,7 +184,7 @@ const view = () => { } .tem_btn { - padding: 0px 10px; + padding: 0 10px; height: 30px; line-height: 30px; text-align: center;