dashboard
repositories
filestore
activity
search
login
谢斌
/
pilot-h5
forked from
drone/pilot-h5
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
Initial commit
xieb
2025-02-05
4667e8975eff03a8fabc6a6fef95658da18e75e6
[~xiebin/pilot-h5.git]
/
src
/
utils
/
index.ts
1
2
3
4
5
6
7
8
//表单序列化
export const serialize = (data:any) => {
let list:any[] = [];
Object.keys(data).forEach((ele) => {
list.push(`${ele}=${data[ele]}`);
});
return list.join('&');
};