添加hiwater作为data部分
This commit is contained in:
parent
a22b71e260
commit
9ea82bbb44
|
@ -2,7 +2,7 @@ function extractPageName(hrefString)
|
||||||
{
|
{
|
||||||
var arr = hrefString.split('/');
|
var arr = hrefString.split('/');
|
||||||
var result=(arr.length<3) ? hrefString : arr[3].toLowerCase();
|
var result=(arr.length<3) ? hrefString : arr[3].toLowerCase();
|
||||||
if (result=='water' || result=='heihe' || result=='glacier' || result=='yrnmr') result='data';
|
if (result=='water' || result=='heihe' || result=='glacier' || result=='yrnmr' || result=='hiwater') result='data';
|
||||||
if (result=='admin' && arr.length>=4) result+="/"+arr[4];
|
if (result=='admin' && arr.length>=4) result+="/"+arr[4];
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue