Commit eb82da52 authored by Дмитрий Малюгин's avatar Дмитрий Малюгин 🕓
Browse files

fix: build

parent 6973fdc1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -45,7 +45,7 @@ export interface ITableProps {
  };
  handlers?: {
    cell: [number, number];
    handler?: unknown;
    handler?: () => void;
  }[];
}

+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ if (props.value) {
  value.value = props.value;
}
const propValue = computed(() => props.value);
watch(propValue, () => (value.value = propValue.value));
watch(propValue, () => (value.value = propValue.value ?? value.value));
watch(value, () => emit('update', value));

const isClickHold = ref<boolean>(false);
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ if (props.value) {
  value.value = props.value;
}
const propValue = computed(() => props.value);
watch(propValue, () => (value.value = propValue.value));
watch(propValue, () => (value.value = propValue.value ?? value.value));
watch(value, () => emit('update', value));

const onHoverIndex = ref();
+1 −1
Original line number Diff line number Diff line
@@ -160,7 +160,7 @@ const updateData = (newValue: Ref<unknown>, rowIndex: number, columnIndex: numbe
          v-for="(item, columnIndex) of row"
          :key="columnIndex"
          @click="
            handlers ? handlers?.find((i) => i.cell?.[0] === rowIndex && i.cell?.[1] === columnIndex)?.handler() : null
            handlers ? handlers.find((i) => i.cell?.[0] === rowIndex && i.cell?.[1] === columnIndex)?.handler?.() : null
          "
          :class="{
            leftBorder: showAllLines,