w-ui-v1 1.1.32 → 1.1.33

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,11 +1,13 @@
1
1
  {
2
2
  "name": "w-ui-v1",
3
- "version": "1.1.32",
3
+ "version": "1.1.33",
4
4
  "description": "w-ui",
5
5
  "author": "wgxshh",
6
6
  "license": "ISC",
7
7
  "main": "index.ts",
8
-
8
+ "publishConfig": {
9
+ "registry": "https://registry.npmjs.org/"
10
+ },
9
11
  "peerDependencies": {
10
12
  "wot-design-uni": "^1.7.0",
11
13
  "z-paging": "^2.8.5"
package/w-menu/w-menu.vue CHANGED
@@ -23,6 +23,10 @@
23
23
  icons: {
24
24
  type: Array,
25
25
  default: []
26
+ },
27
+ load:{
28
+ type: Function,
29
+ default: ()=>{}
26
30
  }
27
31
  })
28
32
  const menuList = ref([])
@@ -160,7 +164,7 @@
160
164
  </script>
161
165
 
162
166
  <template>
163
- <z-paging :loading-more-enabled="false" ref="paging" v-model="menuList" @query="queryList">
167
+ <z-paging :loading-more-enabled="false" ref="paging" v-model="menuList" @query="queryList" @onRefresh="props.load">
164
168
  <template #top>
165
169
  <slot name="top"></slot>
166
170
  </template>