第一步引入 javascript
adoptHandle() { MessageBox({ title: '肯定採納懸賞該回答?', message: '懸賞金額5元+8積分', showCancelButton: true, }) .then(action => { if (action === 'confirm') { this.downadopt = !this.downadopt; } }); },