diff --git a/package.json b/package.json index 528254f46..556c25e7c 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "license": "MIT", "dependencies": { "@babel/runtime": "^7.1.5", - "@vant/icons": "1.0.7", + "@vant/icons": "1.0.8", "@vue/babel-helper-vue-jsx-merge-props": "^1.0.0-beta.2", "vue-lazyload": "1.2.3" }, diff --git a/packages/icon/demo/index.vue b/packages/icon/demo/index.vue index ecc04807b..9be745fe7 100644 --- a/packages/icon/demo/index.vue +++ b/packages/icon/demo/index.vue @@ -3,6 +3,7 @@ import icons from '@vant/icons'; +import { BLUE } from '../../utils/color'; export default { i18n: { @@ -56,6 +58,7 @@ export default { }, data() { + this.BLUE = BLUE; this.icons = icons; return { tab: 0 @@ -65,6 +68,8 @@ export default {