2015-04-04 63 views

回答

2
browser. 
    init(). // be sure to call init first 
    setViewportSize({ 
     width: 1280, 
     height: 1024 
    }). 

PhantomJS默认情况下分辨率较低。