From a3fc8628650b14901b44092c0d2d1a4d47ee5764 Mon Sep 17 00:00:00 2001 From: agoni1212 <22545824+agoni1212@users.noreply.github.com> Date: Tue, 6 Jul 2021 10:13:54 +0800 Subject: [PATCH] fix(griditem): set icon prefix to 'van-icon' (#4318) --- packages/grid-item/index.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/grid-item/index.ts b/packages/grid-item/index.ts index 108a7089..954a42b8 100644 --- a/packages/grid-item/index.ts +++ b/packages/grid-item/index.ts @@ -12,7 +12,10 @@ VantComponent({ props: { icon: String, iconColor: String, - iconPrefix: String, + iconPrefix: { + type: String, + value: 'van-icon', + }, dot: Boolean, info: null, badge: null,