2024-07-12
한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina
Le projet doit renvoyer une invite contextuelle, le code suivant :
const onProductSubmit = async () => {
const followById = await Open1688Api.updateProductFollowById(formData);
console.log('followById : ' + followById.toString())
alert(followById)
}
promesse de sortie
Après avoir appelé l'interface, le résultat n'est pas renvoyé.
Ajouter asynchrone et attendre
const onProductSubmit = async () => {
const followById = await Open1688Api.updateProductFollowById(formData);
console.log('followById : ' + followById.toString())
alert(followById)
}