w-ui-v1 1.0.43 → 1.0.44

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.0.43",
3
+ "version": "1.0.44",
4
4
  "description": "w-ui",
5
5
  "author": "wgxshh",
6
6
  "license": "ISC",
@@ -126,6 +126,10 @@
126
126
  sourceId: {
127
127
  type: String,
128
128
  default: ''
129
+ },
130
+ mainCode:{
131
+ type: String,
132
+ default: ''
129
133
  }
130
134
  })
131
135
  const emit = defineEmits(['change', 'cancel', 'confirm', 'clear', 'update:modelValue', 'open', 'close'])
@@ -284,7 +288,7 @@
284
288
  const scrolltolower = async () => {
285
289
  let qrueKey = ""
286
290
  if (ltmplConfig.value.primaryCriteria.sourceId) qrueKey = "c_" + ltmplConfig.value.primaryCriteria.sourceId + `=${filterVal.value}`
287
- const key = await getPageKey(props.sourceId, "", qrueKey)// 获取key
291
+ const key = await getPageKey(props.sourceId, props.mainCode, qrueKey)// 获取key
288
292
  const data = await getPageData(key.data?.key, pageNo.value, 10)// 获取数据
289
293
  if (data.data?.entities?.length === 0) {
290
294
  return