浏览代码

fix image rotation

Michael Wang 5 年之前
父节点
当前提交
5f0dd05bc5
共有 1 个文件被更改,包括 1 次插入1 次删除
  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