src/utils/utis.js
@@ -265,3 +265,10 @@ 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); }