w-ui-v1 1.0.74 → 1.0.75

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