diff --git a/src/views/api/index.vue b/src/views/api/index.vue index 17997aaedf9b6b0cf7ad9d9c245b82befd9bc9c0..67283135db9b79c7c518caf431531776c54a5c44 100644 --- a/src/views/api/index.vue +++ b/src/views/api/index.vue @@ -420,7 +420,6 @@ const queryList = async (type: 'semantic_interface' | 'mcp') => { })); } } - loading.value = false; }; @@ -441,9 +440,12 @@ const handleFavorite = (e, item) => { }; const handleSearchApiList = (type: 'my' | 'createdByMe' | 'favorited') => { + console.log(type,'type'); if (type === 'my') { + apiType.value = 'my'; queryList(pluginType.value); } else { + apiType.value = type; currentPage.value = 1; currentPageSize.value = 16; queryList(pluginType.value);