x-essential-lib 0.10.28 → 0.10.29

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -843,12 +843,12 @@ function useRouteChange(onRouteChange) {
843
843
  return false;
844
844
  }
845
845
  }
846
- watch([() => route.path, () => route.query], async () => {
846
+ onBeforeMount(async () => {
847
847
  await onRouteChange();
848
- }, {
849
- deep: true,
850
- immediate: true
851
848
  });
849
+ watch([() => route.path, () => route.query], async () => {
850
+ await onRouteChange();
851
+ }, { deep: true });
852
852
  return { syncOrg };
853
853
  }
854
854
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "x-essential-lib",
3
- "version": "0.10.28",
3
+ "version": "0.10.29",
4
4
  "files": [
5
5
  "dist"
6
6
  ],