vue 错误 Uncaught (in promise) cancel 怎么解决
this.$confirm('确认提交吗?', '提示', {}).then(() => {this.loading = truelet params = Object.assign({}, this.dataForm)},() => { }//添加这一样代码,添加 取消 时的处理);...
·
this.$confirm('确认提交吗?', '提示', {}).then(() => {
this.loading = true
let params = Object.assign({}, this.dataForm)
}
,() => { } //添加这一样代码,添加 取消 时的处理
);
更多推荐



所有评论(0)