@blocklet/pages-kit-block-studio 0.4.128 → 0.4.129
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.
|
@@ -324,7 +324,7 @@ function Layout({ loadState, loadedData }) {
|
|
|
324
324
|
// 当属性变化时触发重新渲染
|
|
325
325
|
(0, react_1.useEffect)(() => {
|
|
326
326
|
triggerRerender();
|
|
327
|
-
}, [JSON.stringify(mergedPropertiesValues), JSON.stringify(mergedAllBlocks), state.metadata.id]);
|
|
327
|
+
}, [JSON.stringify(mergedPropertiesValues), JSON.stringify(mergedAllBlocks), state.metadata.id, locale]);
|
|
328
328
|
const DraggingSplitPlaceholder = (0, react_1.useMemo)(() => {
|
|
329
329
|
return ((0, jsx_runtime_1.jsx)(material_1.Box, { p: 1.5, width: "100%", height: "100%", children: (0, jsx_runtime_1.jsx)(material_1.Skeleton, { variant: "rectangular", height: "100%", sx: { borderRadius: 1 } }) }));
|
|
330
330
|
}, []);
|