Commit f779a93
committed
* fix the value of
@ fe/srchydrationStore.isHydratingOrSSR that controls should wrap <img> within <a> remains true after https://github.com/mirari/v-viewer/blob/9d51fe98f9d2b5d7c836a637cbb3b11d20bf4899/src/directive.ts#L10 so when clicking on the hydrated <img> without being wrapped in <a>, it won't match with the original <img> that being wrapped in <a> while SSR and before hydrate, which stored in this.images at https://github.com/fengyuanchen/viewerjs/blob/94eb0ce2d9c663dbcc4387527b36e2f4b2852b72/src/js/viewer.js#L187 @ components/post/renderer/Content.vue1 parent bd60b09 commit f779a93
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
0 commit comments