mirror of
https://github.com/eyebluecn/tank-front
synced 2024-04-21 12:31:55 +00:00
Add the url remark.
This commit is contained in:
@@ -14,6 +14,8 @@ export default class PreviewEngine extends Base {
|
||||
* {publicUrl} 对于公有文件publicUrl=originUrl,对于私有文件publicUrl是originUrl带上downloadToken。 eg: https://tank.eyeblue.cn/api/alien/download/2a0ceee1-744c-4c82-4215-69c382597a50/abstract-free-photo-2210x1473.jpg?downloadTokenUuid=6bdba52f-af6b-49ae-5a5d-fd80bfb01d3b
|
||||
* {encodeOriginUrl} 被encodeURIComponent处理后的originUrl。
|
||||
* {encodePublicUrl} 被encodeURIComponent处理后的publicUrl。
|
||||
*
|
||||
* {url} 等价于encodePublicUrl,只提供给用户就行了。
|
||||
*/
|
||||
url: string = ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user