Windows下开发者工具HTTP上传 path is not defined
发布于 6 年前 作者 bjia 1411 次浏览 来自 问答

环境:windows端 v1.02.1808172

尝试过的路径格式:

D:\大连\dist\烟台

D:\abtest\dist\myself123

D:\\daasdadad\\dist\\xxx9123name

D:/大连/dist/烟台

D:/abtest/dist/myself123


调用方法:

上传请求url:

http://127.0.0.1:${port}/upload?projectpath=${encodeURIComponent(distPath.replace(\\,’/’))}&version=v1.0.0&desc=test

结果:{“code”:40000,“error”:“错误 ReferenceError: path is not defined”}

求解:什么路径格式可以上传?

2 回复

预览也不可以

请问你试过预览可以吗?

回到顶部