From 9bb8eabe0c9f104cf6c63bbeeb2d8b00ff0f5129 Mon Sep 17 00:00:00 2001
From: 小小儁爺 <1694218219@qq.com>
Date: 星期五, 26 七月 2024 08:10:40 +0800
Subject: [PATCH] 1.生产进度报表优化
---
src/components/DragSelect/index.vue | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/src/components/DragSelect/index.vue b/src/components/DragSelect/index.vue
index 5454770..cc132a3 100644
--- a/src/components/DragSelect/index.vue
+++ b/src/components/DragSelect/index.vue
@@ -39,6 +39,7 @@
// Detail see : https://github.com/RubaXa/Sortable/issues/1012
},
onEnd: evt => {
+ console.log(evt, 123)
const targetRow = this.value.splice(evt.oldIndex, 1)[0]
this.value.splice(evt.newIndex, 0, targetRow)
}
@@ -47,7 +48,13 @@
}
}
</script>
-
+<style>
+.sortable-ghost{
+ opacity: .8;
+ color: #fff!important;
+ background: #42b983!important;
+}
+</style>
<style lang="scss" scoped>
.drag-select {
::v-deep {
--
Gitblit v1.9.3