fix:打包优化
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -26,3 +26,4 @@ dist-ssr
|
|||||||
package-lock.json
|
package-lock.json
|
||||||
src/utils/*.cjs
|
src/utils/*.cjs
|
||||||
src/**/*.js
|
src/**/*.js
|
||||||
|
/stats.html
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user