uni-app icon indicating copy to clipboard operation
uni-app copied to clipboard

对data协议的支持有bug

Open swiftest0 opened this issue 7 years ago • 0 comments

h5下无法使用data:image/svg+xml,<svg></svg>或data:image/svg+xml;base64, 会转为相对路径

未验证全部平台,请确认

源码中只能匹配以下模式,所以xml的svg或base64的svg都不行 const BASE64_RE = /^data:[a-z-]+\/[a-z-]+;base64,/

swiftest0 avatar Aug 13 '19 08:08 swiftest0