We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
如果是上传到本地(storage :file), @user.avatar? 返回 true;
storage :file
@user.avatar?
true
如果上传到阿里云的话(storage :aliyun), 在OSS的bucket里能看到图片,但是 @user.avatar? 返回 false。
storage :aliyun
false
我现在暂时靠avatar.url来判断有无图片。
avatar.url
请问可能是什么原因导致的?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
如果是上传到本地(
storage :file
),@user.avatar?
返回true
;如果上传到阿里云的话(
storage :aliyun
),在OSS的bucket里能看到图片,但是
@user.avatar?
返回false
。我现在暂时靠
avatar.url
来判断有无图片。请问可能是什么原因导致的?
The text was updated successfully, but these errors were encountered: