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

有没有属性让时间线在打开页面时就显示,不一开始就显示之前的时间点 #33

Closed
KlaywwW opened this issue Jun 20, 2020 · 9 comments

Comments

@KlaywwW
Copy link

KlaywwW commented Jun 20, 2020

image
image
谢谢!

@w1301625107
Copy link
Owner

你说的是红色的那个竖线吗?还是点击块后在块的前后出现的那个线吗?

@KlaywwW
Copy link
Author

KlaywwW commented Jun 20, 2020

你说的是红色的那个竖线吗?还是点击块后在块的前后出现的那个线吗?

红色的当前时间线

@w1301625107
Copy link
Owner

不一开始就显示之前的时间点?

是什么意思?

红色显示的一直是当前时间。

@KlaywwW
Copy link
Author

KlaywwW commented Jun 20, 2020

不一开始就显示之前的时间点?

是什么意思?

红色显示的一直是当前时间。

我设定了18号到21号的时间段,现在一打开显示的是18号的,但是红色的当前时间在20号那个位置,我需要拖动才能看到,所以我想,直接看到当前时间的区间,拖动到前面再看18号的

@w1301625107
Copy link
Owner

奥,明白了。你需要默认显示当前时间范围的区间,对吧?

有一个 scrollToTime 字段, 你可以试试看,能不能满足你的要求。

@KlaywwW
Copy link
Author

KlaywwW commented Jun 20, 2020

大佬,之前的问题已经搞定,现在怎么把项目打包成单页面应用?

@w1301625107
Copy link
Owner

em,通常是npm run build,百度一下答案很多,而且更详细

@KlaywwW
Copy link
Author

KlaywwW commented Jun 22, 2020

em,通常是npm run build,百度一下答案很多,而且更详细

已经解决了,去掉了就可以了
image

@KlaywwW
Copy link
Author

KlaywwW commented Jun 22, 2020

感谢大佬的开源项目

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants