Vue2+Tsx 的一个问题 2023年3月18日 · Vue、JSX const userInfo: any = UserService.getUserInfo() const userId = userInfo?.userId || 0如上,userId 最后没有使用,会报什么问题?