新建promise callback(){ const promise =new Promise((resolve,rejest)=>{ console.log('2') 代码 resolve('true') }) return promise }, findpage(){ this.callback().then((ss)=>{ this.loading=false; }) }