1
李凌
2025-09-19 e1e51991ad91c14fa00c5cf46f95e514f676ac4d
src/utils/utis.js
@@ -264,4 +264,11 @@
export const handleImage = (url) => {
  return new URL(url, import.meta.url).href
}
}
// 字符串转数组
export const strToArr = (str, separator = ',') => {
    if (typeof str !== 'string') return [];
    return str.split(separator);
}