const { duration, tempFilePath } = voiceInfo;

voiceinfo 如果是Json且确定有两个变量可以上面的方式写

猜你喜欢

转载自blog.csdn.net/sd19871122/article/details/83146043