From 99efd75b9e00a159c8848f3909fe15d0a8f761d9 Mon Sep 17 00:00:00 2001 From: songchenglin3 <353833373@qq.com> Date: Fri, 7 Mar 2025 11:59:58 +0800 Subject: [PATCH] =?UTF-8?q?fix(cell):=20=E4=BC=98=E5=8C=96=E8=87=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E5=8F=B3=E4=BE=A7=E5=8C=BA=E5=9F=9Fdemo?= =?UTF-8?q?=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/packages/cell/demos/h5/demo4.tsx | 4 +++- src/packages/cell/demos/taro/demo4.tsx | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/packages/cell/demos/h5/demo4.tsx b/src/packages/cell/demos/h5/demo4.tsx index 6ecce22100..0ef6c221c2 100644 --- a/src/packages/cell/demos/h5/demo4.tsx +++ b/src/packages/cell/demos/h5/demo4.tsx @@ -2,6 +2,8 @@ import React from 'react' import { Cell, Switch } from '@nutui/nutui-react' const App = () => { - return } /> + return ( + } /> + ) } export default App diff --git a/src/packages/cell/demos/taro/demo4.tsx b/src/packages/cell/demos/taro/demo4.tsx index cb4016b621..8fa1cdf0e9 100644 --- a/src/packages/cell/demos/taro/demo4.tsx +++ b/src/packages/cell/demos/taro/demo4.tsx @@ -4,7 +4,7 @@ import { Cell, Switch } from '@nutui/nutui-react-taro' const App = () => { return ( - } /> + } /> ) }