提交 0e5e7208 编写于 作者: 郭胜强

fix: 解决getRealPath获取非图像类型的base64类型地址错误的问题

上级 78cacf70
import getRealRoute from 'uni-helpers/get-real-route'
const HTTP_RE = /^(http|https|file):\/\//
const BASE64_IMAGE_RE = /^\s*data:image\//
const BASE64_IMAGE_RE = /^data:[a-z-]+\/[a-z-]+;base64,/
function addBase (filePath) {
if (__uniConfig.router.base) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册