Skip to content

Commit

Permalink
修复UI读取新设置报错的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhaoZuohong committed Nov 20, 2023
1 parent 69d1af3 commit 15013d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/stores/plan.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const usePlanStore = defineStore('plan', () => {
}

function str2list(data) {
return data == '' ? [] : data.split(',')
return data && data != '' ? data.split(',') : []
}

const backup_conf_convert_list = [
Expand Down

0 comments on commit 15013d4

Please sign in to comment.