如何修复:验证器是未定义在magento 2结帐页

5tmbdcev  于 2023-04-12  发布在  其他
关注(0)|答案(1)|浏览(143)

在magento 2结帐页面:一个错误被捕获,请看日志如下:
未捕获的类型错误:验证器未定义validateEmail https://www.productcategory.com/static/version1679504321/frontend/Gd/base/en_US/Magento_Checkout/js/view/form/element/email.js:166

emailHasChanged https://www.productcategory.com/static/version1679504321/frontend/Gd/base/en_US/Magento_Checkout/js/view/form/element/email.js:90

setNested https://www.productcategory.com/static/version1679504321/frontend/Gd/base/en_US/mage/utils/objects.js:44

nested https://www.productcategory.com/static/version1679504321/frontend/Gd/base/en_US/mage/utils/objects.js:118

set https://www.productcategory.com/static/version1679504321/frontend/Gd/base/en_US/Magento_Ui/js/lib/core/element/element.js:305

updateValue https://www.productcategory.com/static/version1679504321/frontend/Gd/base/en_US/Magento_Ui/js/lib/core/element/links.js:80

notifySubscribers https://www.productcategory.com/static/version1679504321/frontend/Gd/base/en_US/knockoutjs/knockout.js:1320

刷新 checkout 页面可以解决此问题,导致此问题的原因是什么?

wfveoks0

wfveoks01#

最后发现这个问题是由amazon模块引入的,去掉它们可以解决这个问题

相关问题