參照:
https://www.jianshu.com/p/e745787118d0
https://blog.csdn.net/qq_42852004/article/details/105970267
第一步:下載源碼並執行npm run dev(源碼地址:https://github.com/ElemeFE/element)
第二步:打包完成后可以根據localhost:8085 訪問到源碼的demo
第三步:看到源碼的界面
第四步:找到源代碼進行修改並調試
第五步:修改完成后npm run dist打包生成lib目錄
第六步:通過查找得知修改的handleConfirm打包在element-ui.common.js文件中
第七步:替換element-ui.common.js文件到自己項目中並運行
結果:
調試修改完成~