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
UrlModel在用于图片加载时过于臃肿,其中的 platform 可完全省略,至于 short_desc 也并不是必填项目。
platform
short_desc
简化为一个包含至多两个值的列表:
["URL value", "Langstring code"]
第一个为图片实际URL,第二个为图片的简介。可不添加第二个值,直接添加:
["URL value"]
由于暂时无法完全更新旧的 UrlModel 数据结构,因而 ImageInfo 应做到对该数据模型的兼容。
UrlModel
ImageInfo
可以考虑用 UrlModel 载入,但在输出时需要规范成 ImageInfo 类型。
Issue #5 需要该功能支持。
The text was updated successfully, but these errors were encountered:
sctop
No branches or pull requests
背景
UrlModel在用于图片加载时过于臃肿,其中的
platform
可完全省略,至于short_desc
也并不是必填项目。数据结构
简化为一个包含至多两个值的列表:
["URL value", "Langstring code"]
第一个为图片实际URL,第二个为图片的简介。可不添加第二个值,直接添加:
["URL value"]
兼容性
由于暂时无法完全更新旧的
UrlModel
数据结构,因而ImageInfo
应做到对该数据模型的兼容。可以考虑用
UrlModel
载入,但在输出时需要规范成ImageInfo
类型。其他
Issue #5 需要该功能支持。
The text was updated successfully, but these errors were encountered: