fix:打包优化

This commit is contained in:
lhj
2024-11-06 23:41:43 +08:00
parent 63f1c87cac
commit 729a172c05
2 changed files with 4 additions and 2 deletions

1
.gitignore vendored
View File

@ -26,3 +26,4 @@ dist-ssr
package-lock.json package-lock.json
src/utils/*.cjs src/utils/*.cjs
src/**/*.js src/**/*.js
/stats.html

View File

@ -53,7 +53,7 @@ import NestedFunction from "@/components/NestedFunction.vue";
let componentsList = []; let componentsList = [];
const store = useSchemeStore(); const store = useSchemeStore();
watch(store, (n, e) => { watch(store, (n) => {
console.log("数据", n); console.log("数据", n);
}); });
@ -127,6 +127,7 @@ const clone = function (element: IComponent) {
} }
const onEnd = (obj: any) => { const onEnd = (obj: any) => {
console.log(obj)
// const {oldDraggableIndex} = obj; // const {oldDraggableIndex} = obj;
// store.previewData(store.component[oldDraggableIndex]); // store.previewData(store.component[oldDraggableIndex]);
// store.nowComponentsData(store.component[oldDraggableIndex]); // store.nowComponentsData(store.component[oldDraggableIndex]);
@ -183,7 +184,7 @@ const view = () => {
} }
.tem_btn { .tem_btn {
padding: 0px 10px; padding: 0 10px;
height: 30px; height: 30px;
line-height: 30px; line-height: 30px;
text-align: center; text-align: center;