Commit d9399028 by linjinhong

修改切换图片样式重复的问题

parent 1afb0bd1
......@@ -164,12 +164,7 @@ export default {
systemSetting: {},
detail: {},
imgHeight: 0,
selectImgList: [
{
productionFile: "D:\\work\\electron-printer\\print\\Input\\111.png",
designId: 1,
},
],
selectImgList: [],
bus: 0,
showImgSetting: true,
......@@ -203,7 +198,6 @@ export default {
if (this.imgList.length > 0) {
this.$nextTick(() => {
let dom = document.getElementsByClassName("drr");
console.log("dom", dom);
this.imgList.forEach((el, i) => {
let dom_i = document.getElementsByClassName("drr")[i];
......@@ -427,7 +421,10 @@ export default {
this.imgHistoryList.push(JSON.parse(JSON.stringify(this.imgList)));
});
});
setTimeout(() => {
this.imgDom = document.getElementById("imgBox");
if (this.imgDom) this.imgDom.style.webkitClipPath = "none";
}, 300);
// this.selectImgIndexList = Array.from(new Set(this.selectImgIndexList))
// this.getBackFile({ files: [it], size });
},
......
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