Narkea

第一步引入 

import { MessageBox } from \'mint-ui\';
 
第二步如果点击确定按钮执行的函数要加回调函数
adoptHandle() {
        MessageBox({
        title: \'确定采纳悬赏该回答?\',
        message: \'悬赏金额5元+8积分\',
        showCancelButton: true,
        })
        .then(action => {
          if (action === \'confirm\') {
            this.downadopt = !this.downadopt;
          }
        });
      },

  

 
 

分类:

技术点:

相关文章:

  • 2021-11-17
  • 2021-05-05
  • 2021-11-17
  • 2021-11-17
  • 2021-11-17
  • 2021-11-17
  • 2021-05-18
  • 2022-01-16
猜你喜欢
  • 2021-11-17
  • 2021-11-17
  • 2021-11-17
  • 2021-11-17
  • 2021-09-07
  • 2021-11-17
相关资源
相似解决方案