提交 495b1df9 authored 作者: huang's avatar huang

后台开发

上级 fbfb7a7a
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
//多选框选中数据 //多选框选中数据
handleSelectionChange(selection) { handleSelectionChange(selection) {
this.ids = selection.map(item => item.id) this.ids = selection.map(item => item.id)
this.single = selection.length!=1 this.single = selection.length!==1
this.multiple = !selection.length this.multiple = !selection.length
}, },
/** 修改按钮操作 */ /** 修改按钮操作 */
...@@ -148,7 +148,7 @@ ...@@ -148,7 +148,7 @@
this.$refs["form"].validate(valid => { this.$refs["form"].validate(valid => {
if (valid) { if (valid) {
if (this.form.id != undefined) { if (this.form.id !== undefined) {
updateDeduction(this.form).then(response => { updateDeduction(this.form).then(response => {
if (response.code === 200) { if (response.code === 200) {
this.msgSuccess("修改成功"); this.msgSuccess("修改成功");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论