Merge pull request #10964 from dataease/pr@dev-v2_st

fix(仪表板): 堆叠组合图自定义排序拖动异常
This commit is contained in:
dataeaseShu 2024-07-15 18:16:52 +08:00 committed by GitHub
commit cadea8d37d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View File

@ -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 => {

View File

@ -80,7 +80,6 @@ init()
<draggable
v-loading="loading"
:list="state.sortList"
group="drag"
animation="300"
class="drag-list"
item-key="name"