首页 > 其他 > 详细

iview Modal 确定按钮loading

时间:2020-02-27 12:58:35      阅读:525      评论:0      收藏:0      [点我收藏+]

iview Modal 确定按钮loading

let _this = this
setTimeout(() => {
    _this.btnLoading = false;
    _this.$nextTick(() => {_this.btnLoading = true;});
}, 100)

2

this.$Modal.success({
    title: ‘‘,
    content: `<strong style="font-size:16px">确认成功</strong>`,
    onOk: () => {
        this.btnLoading = false;
        this.modal = false;
        // do something
    }
});

 

end.

iview Modal 确定按钮loading

原文:https://www.cnblogs.com/wn798/p/12371501.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!