w-ui-v1 1.1.1 → 1.1.3

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": "w-ui-v1",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "description": "w-ui",
5
5
  "author": "wgxshh",
6
6
  "license": "ISC",
@@ -122,11 +122,13 @@ function add() {
122
122
  url: `/pages/add/add?sourceId=${sourceId.value}&mainCode=${mainCode.value}`,
123
123
  })
124
124
  }
125
-
125
+ //重新加载数据
126
+ const load=()=>{
127
+ paging.value.reload() // 手动触发列表重新加载
128
+ }
126
129
  //你暴露方法
127
-
128
130
  defineExpose({
129
- load:paging.value.reload()
131
+ load
130
132
  })
131
133
 
132
134
  </script>