Vue
一剑落笙歌
我们是谁,取决于我们的行为正在让我们成为谁。
展开
-
element-ui的表单验证配合其他组件使用(wangEditor),显示出element表单验证的必填小红点
在使用element-ui开发的时候,总感觉element-ui的组件不够用,这个时候总会需要配合其他的单独的组件来使用。这一次我就用到了富文本,然而element-ui中并没有富文本组件,而且是用在表单中,需要进行表单验证(就是简单的验证是否为空)。wangEditor安装、引入以及创建编辑器安装wangeditornpm install wangeditor##引入、创建编辑器import Editor from 'wangeditor' //引入wangEditor富文本编辑器cons原创 2020-09-10 16:39:21 · 2087 阅读 · 0 评论 -
Vue使用导航栏router模式,设置的default-active无效解决
Vue使用导航栏router模式,设置的default-active无效解决原创 2020-08-13 21:27:08 · 9832 阅读 · 4 评论 -
Vue报错 Invalid default value for prop “XX“: Props with type Object/Array must...问题解决
Vue使用Props传值时报错Invalid default value for prop "proList": Props with type Object/Array must use a factory function to return the default value.解决方法原创 2020-07-31 11:58:42 · 27310 阅读 · 4 评论