loulijun2021
2023-01-04 ff345ebb3fcece2ebafc3333b895d9481bd9435e
src/components/TableColumnSettings/index.vue
@@ -5,8 +5,8 @@
      width="265"
      trigger="click"
    >
      <dnd-list :list1="list1" />
      <!--      <dnd-list :list1="list1" v-bind="$attrs" v-on="$listeners" />-->
      <dnd-list v-bind="$attrs" v-on="$listeners" />
      <el-button
        slot="reference"
        style="cursor: pointer;position: absolute;padding:0;top:11px;right: 60px;z-index: 99;"
@@ -24,26 +24,15 @@
export default {
  name: 'Index',
  components: { DndList },
  props: {
    list1: {
      type: Array,
      default() {
        return []
      }
    }
  },
  data() {
    return {
      // list1: [
      //   { id: 1, name: '预计完工时间' },
      //   { id: 2, name: '楼李俊2' },
      //   { id: 3, name: '楼李俊3' },
      //   { id: 4, name: '楼李俊4' }
      // ]
    }
  },
  methods: {}
  components: { DndList }
  // props: {
  //   list1: {
  //     type: Array,
  //     default() {
  //       return []
  //     }
  //   }
  // }
}
</script>