vue项目中引入饿了么elementUI组件出现下面这种情况,怎么处理啊 vue封装饿了吗element-ui的时间控件el-date...
vue \u516c\u5171js\u4e2d\u600e\u4e48\u4f7f\u7528element ui \u7684\u63d0\u793a\u7ec4\u4ef6mian.js\u91cc\u600e\u4e48\u5f15\u5165\u5c31\u600e\u4e48\u7528
\u6bd4\u5982a.js\u91cc\u60f3\u7528elementUI\u7684\u7ec4\u4ef6\u5c31\u8fd9\u6837
import ElementUI from "element-ui";ElementUI.Message ({ title: '\u8b66\u544a', message: '\u7f51\u9875\u8fd8\u6ca1\u4e0b\u8f7d\u5b8c\u6bd5\uff0c\u8bf7\u7a0d\u7b49\u4e00\u4e0b\u518d\u64cd\u4f5c', type: 'warning'});
Vue\u5217\u8868\u6e32\u67d3\u4e2d\u4fee\u6539\u6570\u7ec4\u5143\u7d20\uff08\u5bf9\u8c61\uff09\u7684\u67d0\u4e2a\u5c5e\u6027\uff0c\u4f46\u4e0d\u80fd\u89e6\u53d1\u89c6\u56fe\u66f4\u65b0\u3002
不需要管。正常运行启动你的项目就可以绛旓細}else{ this.msg='娌℃湁鍏ㄩ'; } }, // 閫夋嫨鍙戠敓鏀瑰彉鏄墽琛 handleSelectionChange(val){ this.multipleSelection = val; }, }, }杩愯鎴浘锛氬綋閫夋嫨涓涓椂鐐瑰嚮鈥滃垽鏂槸鍚﹀叏閫夋寜閽濇樉绀哄涓嬶細褰撳叏閮ㄩ夋嫨鏃剁偣鍑烩滃垽鏂槸鍚﹀叏閫夋寜閽濇樉绀哄涓嬶細
绛旓細[plugin:vite:esbuild] Transform failed with 1 error:/Users/lixu/work/topology/editor/node_modules/@antv/x6/src/view/tool.ts:424:36: ERROR: Cannot use "this" here:/Users/lixu/work/topology/editor/node_modules/@antv/x6/src/view/tool.ts:424:36 Cannot use "this" here:422|&...