fix: 修复有表头排序时,draggableCondition由false变true还显示拖拽按钮的缺陷
--bug=1042783 --user=吕梦园 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001042783
This commit is contained in:
parent
c0f310a2e7
commit
6561ca6ee7
|
@ -381,7 +381,7 @@ export default function useTableProps<T>(
|
|||
watch(
|
||||
() => props?.draggableCondition,
|
||||
() => {
|
||||
setTableDraggable();
|
||||
setTableDraggable(Object.keys(sortItem.value).length === 0 && Object.keys(filterItem.value).length === 0);
|
||||
},
|
||||
{
|
||||
immediate: true,
|
||||
|
|
Loading…
Reference in New Issue