@fulongt37334138
As per the error msg in the console logs, CORS policy is blocking the request, so you may have to update the relevant fields like Allowed hosts, headers, methods, etc, of the CORS config[0].
Cross-Origin Resource Sharing facilitates non-AEM web properties to make client-side calls to AEM, both authenticated and unauthenticated, to fetch content or directly interact with AEM.
[0] - https://experienceleague.adobe.com/docs/experience-manager-learn/foundation/security/understand-cros...