mirror of
https://gitee.com/bootx/dax-pay-ui.git
synced 2025-09-03 19:07:02 +00:00
fix: Fix Layout Page Tabs dragable (#1433)
* fix: pnpm install * fix: Fix Tabs dragable
This commit is contained in:
2214
pnpm-lock.yaml
generated
2214
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -56,7 +56,9 @@ export function useTabsDrag(affixTextList: string[]) {
|
||||
const { prefixCls } = useDesign('multiple-tabs');
|
||||
nextTick(() => {
|
||||
if (!multiTabsSetting.canDrag) return;
|
||||
const el = document.querySelectorAll(`.${prefixCls} .ant-tabs-nav > div`)?.[0] as HTMLElement;
|
||||
const el = document.querySelectorAll(
|
||||
`.${prefixCls} .ant-tabs-nav-wrap > div`,
|
||||
)?.[0] as HTMLElement;
|
||||
const { initSortable } = useSortable(el, {
|
||||
filter: (e: ChangeEvent) => {
|
||||
const text = e?.target?.innerText;
|
||||
|
Reference in New Issue
Block a user