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

从我的频道删除后,可以回到其他频道里它原来的位置吗? #19

Open
finddreams opened this issue Feb 25, 2021 · 3 comments

Comments

@finddreams
Copy link

比如原来是推荐频道的第三个位置,现在从我的频道删除,需要它重新回到第三个位置,现在是删除后,总是回到第一个位置上,请问这需求要怎么改才能实现?

@chengzhicao
Copy link
Owner

之前没考虑过这个功能,因为下面的频道是变化的,如果之前在第三个位置,这时把前面两个频道也加入了我的频道中,那这时它回来的时候在第一个位置还是第三个位置呢

@finddreams
Copy link
Author

参考支付宝里的全部应用管理,还是它原来的位置。

@chengzhicao
Copy link
Owner

修改deleteMyChannel方法试试,在ChannelAttr中增加一个记录频道原有位置的属性,使用序号排序

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