Compare commits
3 Commits
dc3bb2e04c
...
bfbaed7f15
| Author | SHA1 | Date |
|---|---|---|
|
|
bfbaed7f15 | |
|
|
12c6f9312d | |
|
|
c5266e9d7b |
|
|
@ -1,7 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<view v-if="visible" class="overlay" @touchmove.prevent.self>
|
<view v-if="visible" class="overlay">
|
||||||
<view class="box" :style="boxStyle" @touchstart.stop.prevent="onDragStartTouch"
|
<view class="box" :style="boxStyle" >
|
||||||
@mousedown.stop.prevent="onDragStartMouse">
|
|
||||||
<view class="header" ref="headerRef">
|
<view class="header" ref="headerRef">
|
||||||
<view class="title">{{ title }}</view>
|
<view class="title">{{ title }}</view>
|
||||||
<view class="actions">
|
<view class="actions">
|
||||||
|
|
@ -349,6 +348,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function confirm() {
|
function confirm() {
|
||||||
|
console.log("111")
|
||||||
const result = selectedIndexes.value.map((idx, ci) => {
|
const result = selectedIndexes.value.map((idx, ci) => {
|
||||||
const col = rawColumns.value[ci] || [];
|
const col = rawColumns.value[ci] || [];
|
||||||
const display = (displayColumns.value[ci] && displayColumns.value[ci][idx] !== undefined) ?
|
const display = (displayColumns.value[ci] && displayColumns.value[ci][idx] !== undefined) ?
|
||||||
|
|
@ -360,6 +360,7 @@
|
||||||
display
|
display
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
emit('confirm', result);
|
emit('confirm', result);
|
||||||
visible.value = false;
|
visible.value = false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue