@ithinkdt/page 4.0.21 → 4.0.22

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ithinkdt/page",
3
- "version": "4.0.21",
3
+ "version": "4.0.22",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "iThinkDT Page",
@@ -41,7 +41,7 @@
41
41
  "dependencies": {
42
42
  "@vueuse/core": "^14.3.0",
43
43
  "nanoid": "^5.1.11",
44
- "@ithinkdt/common": "^4.0.9"
44
+ "@ithinkdt/common": "^4.0.10"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "vue": ">=3.5",
@@ -49,9 +49,9 @@
49
49
  },
50
50
  "devDependencies": {
51
51
  "typescript": "~6.0.3",
52
- "vite": "^8.0.14",
53
- "vue": "^3.5.34",
54
- "vue-router": "^5.0.7"
52
+ "vite": "^8.0.16",
53
+ "vue": "^3.5.35",
54
+ "vue-router": "^5.1.0"
55
55
  },
56
56
  "scripts": {
57
57
  "release": "pnpm publish --no-git-checks"
package/src/form.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { StorageSerializers, toReactive, tryOnScopeDispose, useEventListener, useStorage } from '@vueuse/core'
2
2
  import { nanoid } from 'nanoid'
3
- import { computed, effectScope, h, hasInjectionContext, inject, reactive, readonly, ref, shallowReactive, shallowRef, toRaw, unref, watch } from 'vue'
3
+ import { computed, effectScope, h, hasInjectionContext, inject, reactive, readonly, ref, shallowReactive, shallowRef, toRaw, unref } from 'vue'
4
4
  import { useRoute } from 'vue-router'
5
5
 
6
6
  import { copy, isNone } from '@ithinkdt/common/object'
package/src/list.js CHANGED
@@ -91,8 +91,8 @@ export function useListPageCustomization({
91
91
  const filterStorage = new CustomStorage('filter-form', storage, key, 'default', { onSet })
92
92
  const tableStorage = new CustomStorage('table-column', storage, key, 'default', { onSet })
93
93
  tryOnScopeDispose(() => {
94
- filterStorage.$event.clear()
95
- tableStorage.$event.clear()
94
+ filterStorage.$change.clear()
95
+ tableStorage.$change.clear()
96
96
  })
97
97
 
98
98
  let laskKey = 'default'