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