fuliqi
2025-01-15 79f0dbe2bc5588c617ddfd82ac027977c764f5fe
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