Update common.js

This commit is contained in:
life
2021-03-27 16:12:09 +08:00
parent 0d8da7b302
commit e677a7729e

View File

@@ -1792,7 +1792,7 @@ function isURL(str_url) {
}
function isOtherSiteUrl(url) {
return url.indexOf('http://127.0.0.1') < 0 && isURL(url);
return url && url.indexOf('http://127.0.0.1') < 0 && isURL(url);
}
function reloadApp() {