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.
Appium入門
2.
Spring WebFlux 源碼分析(2)-Netty 服務器啓動服務流程 --TBD
3.
wxpython入門第六步(高級組件)
4.
CentOS7.5安裝SVN和可視化管理工具iF.SVNAdmin
5.
jedis 3.0.1中JedisPoolConfig對象缺少setMaxIdle、setMaxWaitMillis等方法,問題記錄
6.
一步一圖一代碼,一定要讓你真正徹底明白紅黑樹
7.
2018-04-12—(重點)源碼角度分析Handler運行原理
8.
Spring AOP源碼詳細解析
9.
Spring Cloud(1)
10.
python簡單爬去油價信息發送到公衆號
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
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的錯誤
>>更多相關文章<<