lionix-team / vue-image-markup

vue-image-markup will provide you to edit uploaded image easily and save it.
https://image-markup.lionix-team.com
96 stars 44 forks source link

fix - use function getObjectsById(id) can not get the object #18

Open yan-pengcheng opened 3 years ago

yan-pengcheng commented 3 years ago

Issue: I created a circle object and set id to the "params", when I call function getObjectsById(id), I cannot get this object.

Cause: In the function drawCircle and drawRect, parameters id was missing.