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 +1 -1
- package/w-table/w-table.vue +5 -3
package/package.json
CHANGED
package/w-table/w-table.vue
CHANGED
|
@@ -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
|
|
131
|
+
load
|
|
130
132
|
})
|
|
131
133
|
|
|
132
134
|
</script>
|