没有playingsonginfo时,防止依赖该数据渲染的组件报undefined错,由于playingsonginfo是对象,需要在组件上写v-if/v-show判断对象是否为空选择是否挂载。如果没有playingsonginfo就不挂载。判断方法:Object.keys(playingSongInfo).length !== 0即对象不为空。