소스 검색

fix(student page): 修复作业提交页面元素透明度异常问题

为全局样式添加强制不透明度为1的样式,修复提交时页面元素可能出现的透明显示问题
lsc 3 달 전
부모
커밋
3ac446960b
1개의 변경된 파일과 1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/views/Student/index.vue

+ 1 - 0
src/views/Student/index.vue

@@ -2209,6 +2209,7 @@ const handleHomeworkSubmit = async () => {
         *, *::before, *::after {
             animation: none !important;
             transition: none !important;
+            opacity: 1 !important;
         }
     `
             iframeElement.contentWindow.document.head.appendChild(style)