javascript代码: <img id="photo" src="/photo/man.png" onerror="$(this).attr('src', '/hospital1/image/pic.png')"/>