新增注册来源功能

This commit is contained in:
wangxiaowei
2026-01-18 00:48:27 +08:00
parent b7e2d5d4c9
commit 1e09782256
9 changed files with 71 additions and 12 deletions

View File

@ -175,4 +175,17 @@ export function previewImage(current: string, urls: string[]) {
current,
urls
})
}
}
/**
* uri字符串转对象
* @param uri
* @returns
*/
export function strToParams(uri: string) :any {
let newparams = {}
for (let item of uri.split('&')) {
newparams[item.split('=')[0]] = item.split('=')[1]
}
return newparams
}