this.$alert 方法

this.$alert('确认删除吗', '提示', {

    confirmButtonText: '确定',
    callback: action => {
        this.function()
    }

});

 
原文地址:https://www.cnblogs.com/cs122/p/11766467.html