Commit 7f74230c by 朱哲铨

缩减依赖

parent f6e6d6d9
...@@ -16,9 +16,7 @@ ...@@ -16,9 +16,7 @@
}, },
"main": "background.js", "main": "background.js",
"dependencies": { "dependencies": {
"@gausszhou/vue-drag-resize-rotate": "^2.0.15",
"@minogin/vue-drag-resize-rotate": "^1.0.5", "@minogin/vue-drag-resize-rotate": "^1.0.5",
"@pinkcao/vue-drag-resize-rotate": "^1.2.5",
"@vue/composition-api": "^0.3.4", "@vue/composition-api": "^0.3.4",
"axios": "^0.19.2", "axios": "^0.19.2",
"compressing": "^1.10.1", "compressing": "^1.10.1",
...@@ -28,17 +26,11 @@ ...@@ -28,17 +26,11 @@
"element-ui": "^2.13.0", "element-ui": "^2.13.0",
"express": "^4.17.1", "express": "^4.17.1",
"html2canvas": "^1.4.1", "html2canvas": "^1.4.1",
"lodash": "^4.17.21",
"lodash-id": "^0.14.0", "lodash-id": "^0.14.0",
"lowdb": "^1.0.0",
"morgan": "^1.10.0", "morgan": "^1.10.0",
"multiparty": "^4.2.3", "multiparty": "^4.2.3",
"node-cmd": "^5.0.0",
"node-printer": "^1.0.4",
"nodemon": "^3.1.4", "nodemon": "^3.1.4",
"normalize.css": "^8.0.1", "normalize.css": "^8.0.1",
"printer": "^0.4.0",
"shelljs": "^0.8.5",
"vue": "^2.6.11", "vue": "^2.6.11",
"vue-draggable-resizable": "^3.0.0", "vue-draggable-resizable": "^3.0.0",
"vue-i18n": "^8.16.0", "vue-i18n": "^8.16.0",
......
...@@ -4,7 +4,6 @@ import { grid } from "../data"; ...@@ -4,7 +4,6 @@ import { grid } from "../data";
import ImgSetting from "./imgSetting.vue"; import ImgSetting from "./imgSetting.vue";
import bus from "@/bus"; import bus from "@/bus";
import PrintDialog from "@/views/design/head/printDialog.vue"; import PrintDialog from "@/views/design/head/printDialog.vue";
import { debounce } from "lodash";
const img = require("../../../assets/bg_tshirt_shadow.png"); const img = require("../../../assets/bg_tshirt_shadow.png");
export default { export default {
...@@ -202,7 +201,7 @@ export default { ...@@ -202,7 +201,7 @@ export default {
} }
} }
}, },
debounce,
indexChange(v) { indexChange(v) {
console.log(v); console.log(v);
if (this.imgList.length === 0) return; if (this.imgList.length === 0) return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment