Selaa lähdekoodia

【合影打卡】图像允许跨域,以避免html2canvas失败

任一存 2 vuotta sitten
vanhempi
commit
cdfd83719a
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      src/views/gui/LandmarkEditor.vue

+ 1 - 0
src/views/gui/LandmarkEditor.vue

@@ -13,6 +13,7 @@
         :src="personImgUrl"
         alt=""
         draggable="false"
+        crossOrigin="anonymous"
       >
     </div>