Skip to content

Commit

Permalink
fix: #1086 image multi uplpad link error
Browse files Browse the repository at this point in the history
  • Loading branch information
JiHong88 committed Sep 20, 2022
1 parent 6835e53 commit 06d8f13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/dialog/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ export default {
oImg.src = src;
oImg.alt = alt;
oImg.setAttribute('data-rotate', '0');
anchor = imagePlugin.onRender_link.call(this, oImg, anchor);
anchor = imagePlugin.onRender_link.call(this, oImg, anchor ? anchor.cloneNode(false) : null);

if (contextImage._resizing) {
oImg.setAttribute('data-proportion', contextImage._proportionChecked);
Expand Down

0 comments on commit 06d8f13

Please sign in to comment.