`
}),
methods: {
showModal () {
this.visible = true
},
handleOk () {
this.ModalText = '对话框将在两秒后关闭'
this.confirmLoading = true
setTimeout(() => {
this.visible = false
this.confirmLoading = false
}, 2000)
},
handleCancel () {
console.log('点击了取消')
this.visible = false
}
}
}