zxl
2 天以前 b599374e54fcb8fc56e6ccc8efe5f2b3f3d20716
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