this.$messagebox({
          title: '温馨提示',
          message: '订单支付成功',
          showCancelButton: true,
          confirmButtonText:"继续购物",
          cancelButtonText:"查看订单"
        }).then(action => {
          if(action == 'confirm'){
            console.log('继续购物')
          }else{
            console.log('查看订单')
          }
      })

 

Logo

前往低代码交流专区

更多推荐