This commit is contained in:
afc163 2016-10-09 17:46:40 +08:00
parent e6900ec0ec
commit 11cff6aec6

View File

@ -19,9 +19,9 @@ export default class Article extends React.Component {
if (links.length === 0) {
return;
}
const checkImgUrl = 'http://alipay-rmsdeploy-dev-image.oss-cn-hangzhou-zmf.aliyuncs.com/rmsportal/JdVaTbZzPxEldUi.png';
const checkImgUrl = 'https://g-assets.daily.taob' + 'ao.net/seajs/seajs/2.2.0/sea.js';
this.pingTimer = utils.ping(checkImgUrl, (status) => {
if (status === 'responded') {
if (status !== 'timeout') {
links.forEach(link => (link.style.display = 'block'));
} else {
links.forEach(link => link.parentNode.removeChild(link));