Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date Picker 日期选择器 有错 #56

Closed
zhuewizz opened this issue Sep 11, 2016 · 16 comments
Closed

Date Picker 日期选择器 有错 #56

zhuewizz opened this issue Sep 11, 2016 · 16 comments

Comments

@zhuewizz
Copy link

Element version

OS/Browers version

Vue version

Reproduction Link

Steps to reproduce

What is Expected?

What is actually happening?

(program):2232 [Vue warn]: Trying to access non-existent property "_e" while rendering. Make sure to declare reactive data properties in the data option. (found in root instance)warn @ (program):2232
(program):2232 [Vue warn]: Error when rendering root instance: warn @ (program):2232

@QingWei-Li
Copy link
Contributor

请贴出你的能复现问题的代码,以及指明 vue 和 element 的版本,什么都没有是帮不了你的

@zhuewizz
Copy link
Author

我今天git clone下来,npm run dev 后发现的,没有注意是什么版本

@QingWei-Li
Copy link
Contributor

我这边运行正常,DatePicker 没有报错情况

@yuu2lee4
Copy link

仓库 datetime picker 也报错 win10 64bit

@Leopoldthecoder
Copy link
Contributor

我晚上试一下吧

@Leopoldthecoder
Copy link
Contributor

@yuu2lee4 我这边试了,机器是 win10 64 位,chrome 52.0 浏览器。刚从仓库拉的代码,执行 npm run dev,然后打开 datetime picker 进行操作,没有报错。你现在还会报错吗?如果会,详细的错误信息是?

@yuu2lee4
Copy link

yuu2lee4 commented Sep 12, 2016

image
刚拉的最新的代码

@Leopoldthecoder
Copy link
Contributor

@yuu2lee4 麻烦检查一下你本地 node_modules 里 vue 的版本

@yuu2lee4
Copy link

依赖里面是rc3 node_modules的版本是rc4

@QingWei-Li
Copy link
Contributor

@yuu2lee4 目前不支持 rc4 和 rc5 (有一个 bug 到下一版才修复到),所以请使用 rc3

@yuu2lee4
Copy link

目前还是有错 已经跟随仓库升到rc6

@csvwolf
Copy link
Contributor

csvwolf commented Sep 14, 2016

@yuu2lee4 错误提示还是这个?

@yuu2lee4
Copy link

是的。。。。。我是重新clone的仓库

@QingWei-Li
Copy link
Contributor

@yuu2lee4 把 packages/date-picker 里的 vue 卸载掉

@yuu2lee4
Copy link

然而 npm run dev之后 又给装上了

@QingWei-Li
Copy link
Contributor

@yuu2lee4 🌚 把 date-picker/package.json 里的 devDpendecies 里的 vue 去掉 最新的 pr 已经改了

hazel54 pushed a commit to hazel54/element that referenced this issue Aug 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants