ruoyi-ui/src/views/system/post/index.vue
@@ -249,7 +249,7 @@ // 多选框选中数据 handleSelectionChange(selection) { this.ids = selection.map(item => item.postId) this.single = selection.length!=1 this.single = selection.length != 1 this.multiple = !selection.length }, /** 新增按钮操作 */ @@ -269,7 +269,7 @@ }) }, /** 提交按钮 */ submitForm: function() { submitForm() { this.$refs["form"].validate(valid => { if (valid) { if (this.form.postId != undefined) {