问题描述:vue中类型不匹配导致的错误。大致的意思是期待的是“image“类型,传入的是string,所以导致出错。
解决办法:类型转换
<pan-thumb :image="String(filePath)">