JavaShuo
欄目
標籤
報錯:TypeError: _form.default.create(...) is not a function
時間 2021-07-12
標籤
antd
react
報錯改正
欄目
React
简体版
原文
原文鏈接
報錯: 原因: antd版本更新,我用的是3.x的老版本。 Ant Design 4.0 對Form進行了修改,已經不使用 Form.create,也不需要使用了,它會自動驗證,移除了原來的onSubmit,改用onFinish。 解決: 更改package.json的antd版本爲3.26.14 執行> cnpm install 重新運行> npm start
>>阅读原文<<
相關文章
1.
VuePress報錯TypeError: res.getHeader is not a function
2.
React報錯 TypeError: react__WEBPACK_IMPORTED_MODULE_0___default.a.createClass is not a function
3.
vue報錯 TypeError: merge is not a function
4.
openlayers3 報錯 Uncaught TypeError: M.split is not a function
5.
npm報錯TypeError: this.getResolve is not a function
6.
Uncaught TypeError: window.showModalDialog is not a function
7.
TypeError: antd_es_form__WEBPACK_IMPORTED_MODULE_3__.default.create(...) is not a function
8.
TypeError: (0 , _index.genCompid) is not a function
9.
Uncaught TypeError: i.parents is not a function
10.
Uncaught TypeError: undefined is not a function
更多相關文章...
•
XSLT function-available() 函數
-
XSLT 教程
•
SQL MIN() Function
-
SQL 教程
•
PHP Ajax 跨域問題最佳解決方案
•
Kotlin學習(一)基本語法
相關標籤/搜索
typeerror
function
錯報
報錯
a'+'a
javascript...function
not...else
項目報錯
報錯記錄
React
Redis教程
PHP 7 新特性
Thymeleaf 教程
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
排序-堆排序(heapSort)
2.
堆排序(heapSort)
3.
堆排序(HEAPSORT)
4.
SafetyNet簡要梳理
5.
中年轉行,擁抱互聯網(上)
6.
SourceInsight4.0鼠標單擊變量 整個文件一樣的關鍵字高亮
7.
遊戲建模和室內設計那個未來更有前景?
8.
cloudlet_使用Search Cloudlet爲您的搜索添加種類
9.
藍海創意雲丨這3條小建議讓編劇大大提高工作效率!
10.
flash動畫製作修改教程及超實用的小技巧分享,碩思閃客精靈
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
1.
VuePress報錯TypeError: res.getHeader is not a function
2.
React報錯 TypeError: react__WEBPACK_IMPORTED_MODULE_0___default.a.createClass is not a function
3.
vue報錯 TypeError: merge is not a function
4.
openlayers3 報錯 Uncaught TypeError: M.split is not a function
5.
npm報錯TypeError: this.getResolve is not a function
6.
Uncaught TypeError: window.showModalDialog is not a function
7.
TypeError: antd_es_form__WEBPACK_IMPORTED_MODULE_3__.default.create(...) is not a function
8.
TypeError: (0 , _index.genCompid) is not a function
9.
Uncaught TypeError: i.parents is not a function
10.
Uncaught TypeError: undefined is not a function
>>更多相關文章<<