Explorar o código

fix image rotation

Michael Wang %!s(int64=5) %!d(string=hai) anos
pai
achega
5f0dd05bc5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/features/OnlineExam/Examing/UploadPhotos.vue

+ 1 - 1
src/features/OnlineExam/Examing/UploadPhotos.vue

@@ -52,7 +52,7 @@
       <img
         :src="imgUrl"
         v-if="visible"
-        :style="{ width: '100%', rotate: rotate + 'deg' }"
+        :style="{ width: '100%', transform: 'rotate(' + rotate + 'deg)' }"
       />
       <div style="display: flex; justify-content: center;">
         <Button