From aa6a684e3591878b540d3e7cfe44de6323121427 Mon Sep 17 00:00:00 2001 From: levy Date: Sat, 16 Jan 2021 17:36:43 +0800 Subject: [PATCH] fix: set quality 80 and can turn off webp transformation (#43) --- docs/basic.md | 8 +++++--- docs/directive.md | 5 ++++- src/directive.js | 17 ++++++++++------- src/provider-config.js | 10 ++++++++-- src/v-img.vue | 11 +++++++++-- test/provider-config.spec.js | 32 +++++++++++++++++++------------- 6 files changed, 55 insertions(+), 28 deletions(-) diff --git a/docs/basic.md b/docs/basic.md index 59aa933..fe8bedd 100644 --- a/docs/basic.md +++ b/docs/basic.md @@ -15,6 +15,8 @@ these features are out of box:
height: {{height}}
+

可以选择关闭webp转换

+ @@ -35,9 +37,9 @@ export default { diff --git a/docs/directive.md b/docs/directive.md index a984d4e..f127886 100644 --- a/docs/directive.md +++ b/docs/directive.md @@ -9,7 +9,10 @@ use `v-img` directive, can let background-image to use webp。 ```vue