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

修改set与get路径处理不同导致存取值不同的差异问题 #1259

Merged
merged 1 commit into from
Jun 6, 2018

Conversation

GameGGG
Copy link

@GameGGG GameGGG commented Jun 5, 2018

发现代码的set的path处理是String(path || '').trim()而get的path只是简单的(path || ''),会导致存储差异问题。
eg:
fis.set(' key', 'value')
fis.get(' key') // undefined
fis.get('key') // 'value'

@2betop 2betop merged commit 26b1485 into fex-team:master Jun 6, 2018
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.

2 participants