src/components/RightToolbar/index.vue
@@ -156,11 +156,15 @@ }) }, delColumn(id, index) { deleteDynamicColumnById(id).then(res => { this.$message.success("删除成功") this.getDyColumn(); this.$emit('refreshHeader'); }) if(id) { deleteDynamicColumnById(id).then(res => { this.$message.success("删除成功") this.getDyColumn(); this.$emit('refreshHeader'); }) }else { this.dynamicColumnList.splice(index,1) } }, dynamicColumnClose() { this.showDynamicColumn = false