JavaShuo
欄目
標籤
this.$confirm is not a function(關於使用element-ti MessageBox可能會遇到的問題)
時間 2021-07-10
標籤
vue日記
element-ui
简体版
原文
原文鏈接
今天在寫代碼的時候使用到了element-ui中的MessageBox作爲確認Modal提示框,但是因爲項目非將element-ui組件全部引入而是部分引入所以一開始的時候是在main.js中引入MessageBox但是調用方法時遇到頁面報錯 後來採用局部引入方式 但是調用方法時遇到如下報錯 後來發現原因是此時的$confirm是全局引入ElementUI的時候才使用的,局部使用時應改爲confi
>>阅读原文<<
相關文章
1.
關於 injectBabelPlugin is not a function
2.
XXX.indexOf is not a function 問題
3.
關於小程序報$refs.xxx is not a function的問題排解
4.
關於js報$ is not a function 的問題
5.
關於react this.setState is not a function 的報錯問題解決
6.
jQuery 關於 Uncaught TypeError: XXX is not a function
7.
ctorParameters.map is not a function
8.
關於window.location.href is not a function在FF,chrom報錯問題
9.
TypeError:path_to_regexp_WEBPACK_IMPORTED_MODULE_8_react___default.a.compile is not a function
10.
關於使用esri-loader出現__WEBPACK_IMPORTED_MODULE_0_esri_loader___default.a.bootstrap is not a function的錯誤
更多相關文章...
•
PHP 可用的函數
-
PHP參考手冊
•
Spring使用AspectJ開發AOP:基於XML和基於Annotation
-
Spring教程
•
Git可視化極簡易教程 — Git GUI使用方法
•
IntelliJ IDEA中SpringBoot properties文件不能自動提示問題解決
相關標籤/搜索
遇到的問題
messagebox
function
有關問題
問題在於
遇到
安裝Ubuntu 遇到問題
可使用
關於
xcode5的使用
NoSQL教程
Docker教程
Docker命令大全
應用
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
安裝cuda+cuDNN
2.
GitHub的使用說明
3.
phpDocumentor使用教程【安裝PHPDocumentor】
4.
yarn run build報錯Component is not found in path 「npm/taro-ui/dist/weapp/components/rate/index「
5.
精講Haproxy搭建Web集羣
6.
安全測試基礎之MySQL
7.
C/C++編程筆記:C語言中的複雜聲明分析,用實例帶你完全讀懂
8.
Python3教程(1)----搭建Python環境
9.
李宏毅機器學習課程筆記2:Classification、Logistic Regression、Brief Introduction of Deep Learning
10.
阿里雲ECS配置速記
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
1.
關於 injectBabelPlugin is not a function
2.
XXX.indexOf is not a function 問題
3.
關於小程序報$refs.xxx is not a function的問題排解
4.
關於js報$ is not a function 的問題
5.
關於react this.setState is not a function 的報錯問題解決
6.
jQuery 關於 Uncaught TypeError: XXX is not a function
7.
ctorParameters.map is not a function
8.
關於window.location.href is not a function在FF,chrom報錯問題
9.
TypeError:path_to_regexp_WEBPACK_IMPORTED_MODULE_8_react___default.a.compile is not a function
10.
關於使用esri-loader出現__WEBPACK_IMPORTED_MODULE_0_esri_loader___default.a.bootstrap is not a function的錯誤
>>更多相關文章<<