You have to use either then or await not both as shown below: If using then created () { this.getA().then((result) => { console.log(1) ...
確定! 回上一頁