// 去除两端空格
export const trim = (str: string) => {
if (str == null) {
str = ''
}
return str.replace(/(^\s*)|(\s*$)/g, '')
}
02-12
616

09-06
2789

// 去除两端空格
export const trim = (str: string) => {
if (str == null) {
str = ''
}
return str.replace(/(^\s*)|(\s*$)/g, '')
}