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

封面错误 #16

Open
ywzhaiqi opened this issue Jul 23, 2017 · 1 comment
Open

封面错误 #16

ywzhaiqi opened this issue Jul 23, 2017 · 1 comment

Comments

@ywzhaiqi
Copy link

ywzhaiqi commented Jul 23, 2017

url2Real 函数添加 decodeURIComponent

//转化封面url为实际url
export const url2Real = (url) => {
	if (url.search(/agent/i) === -1) {
      return 'http://api.zhuishushenqi.com' + url;
    }
    else{
      return decodeURIComponent(url.replace(/\/agent\//, ''));
    }
}
@esme518
Copy link
Contributor

esme518 commented Aug 17, 2017

@ShanaMaid 试了下 能解决一部分封面显示问题

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