export const getPathSearchParamObj = () => {
let url = location.search;
let index = url.indexOf("?");
url = url.substring(index + 1);
let arr = url.split("&");
let obj = {}
for (let i = 0; i < arr.length; i++) {
let arr1 = arr[i].split("=");
obj[arr1[0]] = arr1[1];
}
return obj;
}
2021年12月4日星期六
订阅:
博文评论 (Atom)
-
gsettings set org.gnome.desktop.interface clock-show-seconds true
-
vim ~/.bashrc 在最后面加入如下函数代码 function title(){ if [ -z "$ORIG"] ;then ORIG=$PS1 fi TITLE="\[\e]2;$*\a\]" PS1=${ORIG}${TI...
-
https://www.programmerall.com/article/9827973375/
没有评论:
发表评论