element-ui checkbox length bug All In One


element-ui checkbox length bug All In One

element-ui.common.js

TypeError: Cannot read properties of undefined (reading 'length') at VueComponent.isLimitDisabled

checkbox-button / checkbox-group

vue 父子组件加载顺序 bug

vue-parent-child-lifecycle-order

https://www.cnblogs.com/xgqfrms/p/12901725.html

bug

初始化 form 的字段 undefined

initForm (form = {}) {
    console.log('\ninit form =', form);
    console.log('form.ua_group =', form.ua_group);
   // undefined
    const ua_group_id = form?.ua_group ? form?.ua_group?.map(i => i.id) : [''];
    this.form = {
        ua_group_id: ua_group_id,
    };
}

demo

refs



©xgqfrms 2012-2020

www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!

原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!



免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM