refactor: reduce if-else nesting, coalesce conditions (#9060)
refactor: reduce if-else nesting, coalesce conditions (#9060)


cnchanning/vue,Jinjiang/vue,vuejs/vue,Jinjiang/vue,Jinjiang/vue,vuejs/vue,Jinjiang/vue,vuejs/vue,cnchanning/vue,vuejs/vue,cnchanning/vue