@lark-apaas/client-toolkit 1.1.32-alpha.2 → 1.1.32-alpha.4

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.
@@ -28,7 +28,10 @@ const useAppInfo = ()=>{
28
28
  const handleMetaInfoChanged = async (info)=>{
29
29
  if (!info) info = await getAppInfo(true);
30
30
  updateDomInfo(info);
31
- setAppInfo(info);
31
+ setAppInfo((prev)=>({
32
+ ...prev,
33
+ ...info
34
+ }));
32
35
  };
33
36
  handleMetaInfoChanged();
34
37
  const onUpdate = (e)=>{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/client-toolkit",
3
- "version": "1.1.32-alpha.2",
3
+ "version": "1.1.32-alpha.4",
4
4
  "types": "./lib/index.d.ts",
5
5
  "main": "./lib/index.js",
6
6
  "files": [