问题遇到的现象和发生背景
使用this.$prompt页面没有弹窗弹出,直接进了then()
问题相关代码,请勿粘贴截图
this.$prompt('请输入修改后的分数', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
inputPattern: /^([1-9]?\d|100)$/,
inputErrorMessage: '请输入0-100的整数!'
}).then(async ({ value }) => {
// row.result = value
// this.$http.post('modifyA', row).then(result => {
// this.$message.success('修改成功!')
// })
})