w-ui-v1 1.0.72 → 1.0.73

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.72",
3
+ "version": "1.0.73",
4
4
  "description": "w-ui",
5
5
  "author": "wgxshh",
6
6
  "license": "ISC",
@@ -22,9 +22,13 @@ const props = defineProps({
22
22
  sourceId: {
23
23
  type: String,
24
24
  default: ''
25
+ },
26
+ query:{
27
+ type:Object,
28
+ default: null
25
29
  }
26
30
  })
27
- const query = ref('')
31
+ const query = ref(null)
28
32
  const sourceId = ref('')
29
33
  const radiovalue = ref()
30
34
  const checkboxvalue = ref([])
@@ -34,6 +38,7 @@ const pageData = ref<{
34
38
  }>({ criterias: [], buttons: [] })
35
39
  onLoad((option: any) => {
36
40
  sourceId.value = props.sourceId || option.sourceId
41
+ query.value=props.query || option.query?JSON.parse(option.query):null
37
42
  getPageConfig()
38
43
  //监听页
39
44
  uni.$on('checkeDData', function (data: any) {