From b01ca2a88c1e5c27cc8e24d46ab03730b14042e4 Mon Sep 17 00:00:00 2001 From: ajaxzheng <894103554@qq.com> Date: Thu, 5 Jun 2025 10:19:22 +0800 Subject: [PATCH] =?UTF-8?q?docs(user-head):=20=E4=BF=AE=E6=AD=A3=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E5=AE=9A=E4=B9=89=E6=A0=BC=E5=BC=8F=EF=BC=8C=E7=A1=AE?= =?UTF-8?q?=E4=BF=9D=E7=B1=BB=E5=9E=8B=E6=8F=8F=E8=BF=B0=E4=B8=80=E8=87=B4?= =?UTF-8?q?=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/sites/demos/apis/user-head.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/examples/sites/demos/apis/user-head.js b/examples/sites/demos/apis/user-head.js index 422479b439..5bbf9b1e56 100644 --- a/examples/sites/demos/apis/user-head.js +++ b/examples/sites/demos/apis/user-head.js @@ -79,11 +79,12 @@ export default { }, { name: 'modelValue', - type: Component | 'string', + type: 'Component | string', defaultValue: '', desc: { 'zh-CN': 'type=icon 时为图标组件,type=label时为字体串,type=image时为资源路径', - 'en-US': 'If type is set to icon, it should be an icon component . If type is set to label, it indicates the font string. If type is set to image, it indicates the resource path' + 'en-US': + 'If type is set to icon, it should be an icon component . If type is set to label, it indicates the font string. If type is set to image, it indicates the resource path' }, mode: ['pc'], pcDemo: 'basic-usage' @@ -130,7 +131,8 @@ export default { defaultValue: '', desc: { 'zh-CN': 'type=icon 时为图标组件,type=label时为字体串,type=image时为资源路径', - 'en-US': 'If type is set to icon, it should be an icon component . If type is set to label, it indicates the font string. If type is set to image, it indicates the resource path' + 'en-US': + 'If type is set to icon, it should be an icon component . If type is set to label, it indicates the font string. If type is set to image, it indicates the resource path' }, mode: ['mobile-first'], mfDemo: ''