From b1cb4bbe32a02f074374af449da21acfb3c99757 Mon Sep 17 00:00:00 2001 From: jialin Date: Thu, 15 Jan 2026 00:15:42 +0800 Subject: [PATCH] fix: minimatch error --- src/pages/llmodels/download/target-form.tsx | 2 +- src/pages/resources/hooks/use-files-columns.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/llmodels/download/target-form.tsx b/src/pages/llmodels/download/target-form.tsx index d36ad902..b2256d43 100644 --- a/src/pages/llmodels/download/target-form.tsx +++ b/src/pages/llmodels/download/target-form.tsx @@ -7,7 +7,7 @@ import { ModelFileFormData as FormData } from '@/pages/resources/config/types'; import { useIntl } from '@umijs/max'; import { Form } from 'antd'; import _ from 'lodash'; -import { minimatch } from 'minimatch'; +import minimatch from 'minimatch'; import React, { forwardRef, useEffect, diff --git a/src/pages/resources/hooks/use-files-columns.tsx b/src/pages/resources/hooks/use-files-columns.tsx index c70b2993..9df6f572 100644 --- a/src/pages/resources/hooks/use-files-columns.tsx +++ b/src/pages/resources/hooks/use-files-columns.tsx @@ -29,7 +29,7 @@ const { Paragraph } = Typography; const TextWrapper = styled.div` display: flex; align-items: center; - cursor: pointer; + cursor: default; height: 100%; min-width: 32px; `;