文章目录 RN/JS里的相对路径 RN/JS里的相对路径 当前路径为d://depth1/depth2/path ~images 和 /images -> 根路径 d://images ./images 和 images -> 当前目录路径 dd://depth1/depth2/path/images …/images -> 当前目录的上一级 d://depth1/depth2/images