mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-02-01 18:20:17 +01:00
refactor: enhance parameter handling and improve code clarity
- Updated GetListParams to set a default sort option for better query handling. - Enhanced PostSpiderRunParams to include a default mode and improved error handling for missing spider. - Added parameters field to ChatMessageContent for more flexible message content management. - Refactored getNodeIds method to simplify mode handling and removed unnecessary error checks. - Improved ChatMessageAction component to display parameters and response sections more effectively, enhancing user experience.
This commit is contained in:
@@ -316,6 +316,7 @@ export const getDefaultStoreActions = <T = any>(
|
||||
state,
|
||||
commit,
|
||||
}: StoreActionContext<BaseStoreState<T>>) => {
|
||||
console.debug('getList');
|
||||
const { page, size } = state.tablePagination;
|
||||
try {
|
||||
commit('setTableLoading', true);
|
||||
|
||||
Reference in New Issue
Block a user