import { DATASET_LIST } from '../common/mock' ; export async function quertyDatasetList ( idList ) { const list = DATASET_LIST . filter ( dataset => idList . includes ( dataset . id ) ) ; await new Promise ( resolve => { setTimeout ( resolve , 1000 ) ; } ) ; return list ; }