@blocklet/pages-kit 0.4.16-beta.20250306-1 → 0.4.16-beta.20250309-3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -117,7 +117,7 @@ function importCustomComponent(m, { componentId }) {
117
117
  // 使用useMemo缓存渲染内容,避免不必要的重计算
118
118
  const content = (0, react_1.useMemo)(() => {
119
119
  if (loading) {
120
- return ((0, jsx_runtime_1.jsxs)(material_1.Box, { sx: { width: '100%', p: 1 }, children: [(0, jsx_runtime_1.jsx)(material_1.Skeleton, { variant: "rectangular", width: "100%", height: 60, animation: "wave" }), (0, jsx_runtime_1.jsxs)(material_1.Box, { sx: { pt: 1 }, children: [(0, jsx_runtime_1.jsx)(material_1.Skeleton, { width: "80%" }), (0, jsx_runtime_1.jsx)(material_1.Skeleton, { width: "60%" }), (0, jsx_runtime_1.jsx)(material_1.Skeleton, { width: "40%" })] })] }));
120
+ return ((0, jsx_runtime_1.jsx)(material_1.Box, { sx: { width: '100%', p: 1 }, children: (0, jsx_runtime_1.jsx)(material_1.Skeleton, { variant: "rectangular", width: "100%", height: 40, animation: "wave" }) }));
121
121
  }
122
122
  if (error) {
123
123
  return (0, jsx_runtime_1.jsx)(ErrorComponent_1.ComponentError, { componentId: componentId, message: error.message });