我的代码使用:
//版本
"element-ui": "^1.3.2",
//先是引用包
import {DatePicker} from 'element-ui'
//注册包
Vue.use(DatePicker)
//用DatePicker日期控件
//因业务场景我把.el-input__icon 这个css引入的icon字体给隐藏了
.el-icon-time:before{
content:normal !important;
}
然后在页面点击日期控件 浏览器老是打印:
hades.js:6 TypeError: Cannot read property 'replace' of undefined
at t (hades.js:12)
at ht.t.t (hades.js:6)
at ht.t (hades.js:6)
at ht.n [as t] (hades.js:6)
at ht.render (hades.js:12)
at ht.e._render (hades.js:6)
at ht.i (hades.js:6)
at Do.get (hades.js:6)
at Do.run (hades.js:6)
at Me (hades.js:6)
而且当我用el-date-picker组件的时候,点击输入框区域还会有这样的报错
hades.js:6 TypeError: Cannot read property '$el' of undefined
at ht.
at Array.
at e (hades.js:6)
at
请团队看一下 为什么?
Hello, this issue has been closed because it does not conform to our issue requirements. Please submit issues with issue-generator. More info can be found in #3693.