feat: 克隆节点
This commit is contained in:
parent
544711cd73
commit
5fb3bf4e20
@ -227,13 +227,15 @@
|
||||
<el-col :span="12">
|
||||
<div style="height: 55vh">
|
||||
<div class="task-title">待检测项</div>
|
||||
<!-- group="people" -->
|
||||
<draggable
|
||||
:animation="340"
|
||||
:forceFallback="true"
|
||||
:list="taskLeftList"
|
||||
class="draggable-group"
|
||||
ghostClass="dragClass"
|
||||
group="people"
|
||||
|
||||
:group="{ name: 'people', pull: 'clone', put: true }"
|
||||
itemKey="name"
|
||||
>
|
||||
<template #item="{ element, index }">
|
||||
@ -256,7 +258,7 @@
|
||||
:list="taskRightList"
|
||||
class="draggable-group"
|
||||
ghostClass="dragClass"
|
||||
group="people"
|
||||
:group="{ name: 'people', pull: false, put: true }"
|
||||
itemKey="name"
|
||||
>
|
||||
<template #item="{ element, index }">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user