@midwayjs/cross-domainInterfacesCORSOptions版本:Next本页总览CORSOptions Index PropertiesallowHeadersallowMethodscredentialsexposeHeaderskeepHeadersOnErrormaxAgeoriginProperties allowHeadersallowHeaders: string | string[]allowMethodsallowMethods: string | string[]credentialscredentials: boolean | FunctionexposeHeadersexposeHeaders: string | string[]keepHeadersOnErrorkeepHeadersOnError: booleanmaxAgemaxAge: numberoriginorigin: string | Function