zhengkaixin 4 년 전
부모
커밋
b171907130
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 6 1
      src/projects/business/views/Common/Notice/Info.vue

+ 6 - 1
src/projects/business/views/Common/Notice/Info.vue

@@ -62,7 +62,12 @@
 				API_Notice.getMessageInfo(this.id).then(response => {
 
 					this.detail = response;
-
+                    this.$nextTick(()=>{
+                        var list =document.getElementsByClassName("vongi-notice")[0].getElementsByTagName("img");
+                        for(var i=0;i<list.length;i++){
+                            list[i].style='width: 100%;height: 100%;'
+                        }
+                    })
 					this.isLoading = false;
 					//获取最新5条通知消息
 					this.getLastNotice();