promise.catch(function(error){console.error(error);// => "message"});. 代码像这样其实运行时倒也不会有什么问题,但是如果想把promise对象状态设置为 ...
確定! 回上一頁