let flag = true
let timmer = setInterval(()=> {
if(!flag){
// console.log('end~~~');
clearInterval(timmer)
}
else {
let width = $(".markdown-body img").css('width')
// console.log(width)
if(width !==imgWidth) {
$(".markdown-body img").css("width",imgWidth);
flag = false;
}
}
},300)
网友评论