可以獲取url地址中的參數(shù) cocos creator獲取url中的參數(shù)?
cocos creator獲取url中的參數(shù)?訪問(wèn)和利用window.location.href在獲得整個(gè)URL后,使用substring和indexof等字符串處理函數(shù)來(lái)處理所獲得的URL并截取所需
cocos creator獲取url中的參數(shù)?
訪問(wèn)和利用window.location.href在獲得整個(gè)URL后,使用substring和indexof等字符串處理函數(shù)來(lái)處理所獲得的URL并截取所需的部分。