Skip to content

Commit

Permalink
fix: set null
Browse files Browse the repository at this point in the history
  • Loading branch information
phojie committed Jan 13, 2023
1 parent b773683 commit 2a541e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const user = toRef(useAuthStore(), 'user')
const { form, formState } = useSettingStore()
const enableSingleUpdate = $computed(() => {
if (user.value.phone || user.value.address1)
if (user.value.phone !== null || user.value.address1 !== null)
return true
return false
Expand Down

0 comments on commit 2a541e9

Please sign in to comment.