Merge branch 'dev' into 8077-sumDefaulterFrontFix
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Robert Ferrús 2025-01-24 10:47:56 +00:00
commit fb18d5eace
1 changed files with 1 additions and 0 deletions

View File

@ -202,6 +202,7 @@ export function useArrayData(key, userOptions) {
} }
function toArray(str = []) { function toArray(str = []) {
if (!str) return [];
if (Array.isArray(str)) return str; if (Array.isArray(str)) return str;
if (typeof str === 'string') return str.split(',').map((item) => item.trim()); if (typeof str === 'string') return str.split(',').map((item) => item.trim());
} }