摘要: 报错信息: Uncaught (in promise) TypeError: Cannot read property 'getAttribute' of null at Object.getAttribute 原因:开启定时器后,切换页面定时器没有销毁,继续按照时间来调用定时器内的方法获取不到ec 阅读全文
posted @ 2020-08-11 18:05 少哨兵 阅读(396) 评论(0) 推荐(0) 编辑
摘要: 在使用组件a-select 中 添加v-model 绑定,会容易造成 select属性的placeholder失效: 原因时因为palceholder的机制时如果没有输入值就会显示,如果有值(v-model双向绑定一般都有默认值)就不会再显示了 因此我们经常使用初始化数据为空或null的习惯,让pl 阅读全文
posted @ 2020-08-11 17:55 少哨兵 阅读(1790) 评论(0) 推荐(0) 编辑