|
|
@ -8,7 +8,7 @@ |
|
|
|
console.log(option,'option===='); |
|
|
|
var did = false |
|
|
|
try { |
|
|
|
const pathParts = location.href.split('/'); |
|
|
|
const pathParts = location.pathname.split('/'); |
|
|
|
const paramIndex = pathParts.indexOf('did'); |
|
|
|
if(paramIndex !== -1 && paramIndex + 1 < pathParts.length) { |
|
|
|
did = pathParts[paramIndex + 1] |
|
|
|