diff --git a/src/At.vue b/src/At.vue index 3403fef..9cf0b20 100644 --- a/src/At.vue +++ b/src/At.vue @@ -253,7 +253,7 @@ export default { }, selectByMouse (e) { const el = closest(e.target, d => d.dataset.index) - const cur = +el.dataset.index + const cur = +el.getAttribute('data-index') this.atwho = { ...this.atwho, cur