ygx-cq

Results 2 comments of ygx-cq

> 怎么解决这个问题呢? 临时应急方式 ```javascript import Vue from 'vue' import ElementUI from 'element-ui' function RepairProps(cmp) { (cmp.mixins || []).forEach(mixin => { if (mixin.props && mixin.props.placement) { const defaultValue = mixin.props.placement.default mixin.data...

这个要看你打印对象的位置了,还有就是涉及到浏览器控制台打印对象机制 你在调用第一个RepairProps函数前去打印,打印语句后面接个debugger,这样你就能看到那个变量了 如: ![image](https://user-images.githubusercontent.com/26239874/187886305-ec6866b6-bd3d-487e-936b-6ab5db52e236.png)