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

上传到阿里云后,avatar?方法返回false #58

Open
zyjisdog opened this issue Apr 12, 2018 · 0 comments
Open

上传到阿里云后,avatar?方法返回false #58

zyjisdog opened this issue Apr 12, 2018 · 0 comments

Comments

@zyjisdog
Copy link

zyjisdog commented Apr 12, 2018

如果是上传到本地(storage :file),
@user.avatar? 返回 true

如果上传到阿里云的话(storage :aliyun),
在OSS的bucket里能看到图片,但是
@user.avatar? 返回 false

我现在暂时靠avatar.url来判断有无图片。

请问可能是什么原因导致的?

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

1 participant