forked from github/dataease
fix(仪表板): 堆叠组合图自定义排序拖动异常
This commit is contained in:
parent
d85cb3a150
commit
7a3f1b5750
@ -290,7 +290,12 @@ const updateQueryCriteria = () => {
|
||||
ele.checkedFields = checkedFields
|
||||
ele.checkedFieldsMap = checkedFieldsMap
|
||||
} else {
|
||||
if (!ele.dataset.id || ele.optionValueSource !== 1 || ![0, 2, 5].includes(+ele.displayType))
|
||||
if (
|
||||
!ele.dataset.id ||
|
||||
!!ele.parameters.length ||
|
||||
ele.optionValueSource !== 1 ||
|
||||
![0, 2, 5].includes(+ele.displayType)
|
||||
)
|
||||
return
|
||||
const checkedFields = []
|
||||
datasetFieldList.value.forEach(itx => {
|
||||
|
@ -80,7 +80,6 @@ init()
|
||||
<draggable
|
||||
v-loading="loading"
|
||||
:list="state.sortList"
|
||||
group="drag"
|
||||
animation="300"
|
||||
class="drag-list"
|
||||
item-key="name"
|
||||
|
Loading…
Reference in New Issue
Block a user