fix: refresh data in card page list

This commit is contained in:
jialin
2026-06-16 15:25:46 +08:00
committed by jialin
parent 12e324893f
commit 0820edf55f
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -251,7 +251,7 @@ const BackendList = () => {
selectHolder={intl.formatMessage({ id: 'backend.filter.source' })}
buttonText={intl.formatMessage({ id: 'backend.button.add' })}
handleClickPrimary={handleAddBackend}
handleSearch={handleSearch}
handleSearch={() => loadMore(1)}
handleSelectChange={handleFilterBySource}
handleInputChange={handleNameChange}
rowSelection={rowSelection}
+2 -1
View File
@@ -28,6 +28,7 @@ const Catalog: React.FC = () => {
dataSource,
queryParams,
handleSearch,
fetchData,
handleQueryChange,
loadMore,
handleNameChange
@@ -137,7 +138,7 @@ const Catalog: React.FC = () => {
marginBottom={22}
marginTop={0}
buttonText={intl.formatMessage({ id: 'models.catalog.button.explore' })}
handleSearch={handleSearch}
handleSearch={() => loadMore(1)}
handleSelectChange={handleCategoryChange}
handleClickPrimary={handleDeployFromOtherHubs}
handleInputChange={handleNameChange}