From c393966d6d8a3d3297d1aad430c31d66fb74038e Mon Sep 17 00:00:00 2001 From: "Kunda.Song" <574779754@qq.com> Date: Fri, 18 May 2018 18:28:13 +0800 Subject: [PATCH] fix: #291 --- src/mock/random/image.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mock/random/image.js b/src/mock/random/image.js index 9eb19235..a16aa430 100644 --- a/src/mock/random/image.js +++ b/src/mock/random/image.js @@ -49,7 +49,7 @@ module.exports = { (background ? '/' + background : '') + (foreground ? '/' + foreground : '') + (format ? '.' + format : '') + - (text ? '&text=' + text : '') + (text ? '&text=' + encodeURI(text) : '') }, img: function() { return this.image.apply(this, arguments)