Browse Source

[修正] 采集工具图片BUG修正

develop
陈鹏飞 4 years ago
parent
commit
6933e0d32b
  1. 7
      src/app/ui/collection-tools/collection-tools.component.ts

7
src/app/ui/collection-tools/collection-tools.component.ts

@ -382,7 +382,12 @@ export class CollectionToolsComponent implements OnInit {
this.mySwiper.update();
this.gallery.update()
}, 0);
//将上传的input框显示出来
this.isImgNumCss = true;
//清除图片缓存
if((<HTMLInputElement>document.getElementById('inputimg'))){
(<HTMLInputElement>document.getElementById('inputimg')).value = null //清空input框缓存
}
this.canvasData.isChange = true
}
}

Loading…
Cancel
Save