1Promise.resolve('1') 2 .then(res => { 3 console.log(res) 4 }) 5 .finally(() => { 6 console.log('finally') 7 }) 8Promise.resolve('2') 9 .finally(() => { 10 console.log('finally2') 11 return '我是finally2返回的值' 12 }) 13 .then(res => { 14 console.log('finally2后面的then函数', res) 15 }) 16