Forráskód Böngészése

♻️ refactor(statistics): 注释掉测试图表组件

- 将饼图示例测试组件 (PieChartFCExample) 注释掉
- 将环形图示例测试组件 (RingChartFCExample) 注释掉
yourname 2 hete
szülő
commit
976e5e8105

+ 4 - 4
mini-ui-packages/yongren-statistics-ui/src/pages/Statistics/Statistics.tsx

@@ -425,7 +425,7 @@ const Statistics: React.FC<StatisticsProps> = () => {
         </View>
 
         {/* PieChartFCExample 测试组件 */}
-        <View className="card bg-white p-4 mb-4 rounded-lg shadow-sm flex flex-col">
+        {/* <View className="card bg-white p-4 mb-4 rounded-lg shadow-sm flex flex-col">
           <Text className="font-semibold text-gray-700">饼图示例测试 (PieChartFCExample)</Text>
           <View className="mt-3">
             <PieChartFCExample
@@ -434,10 +434,10 @@ const Statistics: React.FC<StatisticsProps> = () => {
               height={400}
             />
           </View>
-        </View>
+        </View> */}
 
         {/* RingChartFCExample 测试组件 */}
-        <View className="card bg-white p-4 mb-4 rounded-lg shadow-sm flex flex-col">
+        {/* <View className="card bg-white p-4 mb-4 rounded-lg shadow-sm flex flex-col">
           <Text className="font-semibold text-gray-700">环形图示例测试 (RingChartFCExample)</Text>
           <View className="mt-3">
             <RingChartFCExample
@@ -446,7 +446,7 @@ const Statistics: React.FC<StatisticsProps> = () => {
               height={400}
             />
           </View>
-        </View>
+        </View> */}
 
       </ScrollView>
     </YongrenTabBarLayout>