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

[新功能] 支持按单票利润排序 #49

Merged
merged 11 commits into from
Mar 17, 2024

Conversation

Ximu-Luya
Copy link
Collaborator

Description

  1. 支持按单票利润排序,同时单票利润排序模式下单元格中展示变更为单票利润
  2. 支持设置参数在客户端本地保存
  3. 利润计算规则修改为:卖出价-买入价

Linked Issues

resovle #41

half resolve #42

@Ximu-Luya Ximu-Luya merged commit 8e0177c into yjl9903:main Mar 17, 2024
1 check passed
@Ximu-Luya
Copy link
Collaborator Author

发现一些服务端渲染特有的问题,我在本地也复现过。实在有点晚了,明天再修。

复现步骤是:调整到非按城市排序模式,刷新页面,服务端渲染的是按城市排序,然后加载客户端localStorage。这时控制台会报非常多客户端与服务端渲染不匹配的警告,并且可能会出现下图奇怪的情况。

image

解决方案:我先暂时下掉本地存储加载功能

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

Successfully merging this pull request may close these issues.

建议: 显示单票金额 累加所有特产商品在其他地区贩卖单票总和
1 participant