w-ui-v1 1.0.79 → 1.0.80
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 +2 -1
package/package.json
CHANGED
package/w-table/w-table.vue
CHANGED
|
@@ -48,6 +48,7 @@ onLoad((option: any) => {
|
|
|
48
48
|
sourceId.value = props.sourceId || option.sourceId
|
|
49
49
|
mainCode.value = props.mainCode ||option.mainCode
|
|
50
50
|
query.value=props.query || option.query
|
|
51
|
+
console.log(sourceId.value, mainCode.value,query.value)
|
|
51
52
|
uni.setNavigationBarTitle({ title: option.pageTitle })
|
|
52
53
|
getPageConfig()
|
|
53
54
|
})
|
|
@@ -94,7 +95,7 @@ async function queryList(pageNo: number, pageSize: number) {
|
|
|
94
95
|
// paging.value.reload() // 手动触发加载
|
|
95
96
|
// })
|
|
96
97
|
try {
|
|
97
|
-
|
|
98
|
+
|
|
98
99
|
const key = await getPageKey(sourceId.value, mainCode.value,query.value)// 获取key
|
|
99
100
|
const data = await getPageData(key.data?.key, pageNo, pageSize)// 获取数据
|
|
100
101
|
// const count = await getPageTotal(key.data?.key)// 获取总数
|