Element: DatePicker时间控件为什么会老出现点击报错

Created on 26 May 2017  ·  1Comment  ·  Source: ElemeFE/element

我的代码使用:
//版本
"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. (hades.js:12)
at Array. (hades.js:6)
at e (hades.js:6)
at

请团队看一下 为什么?

>All comments

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.

Was this page helpful?
0 / 5 - 0 ratings