w-ui-v1 1.0.82 → 1.0.83

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.82",
3
+ "version": "1.0.83",
4
4
  "description": "w-ui",
5
5
  "author": "wgxshh",
6
6
  "license": "ISC",
@@ -45,10 +45,10 @@ const pageData = ref<{
45
45
  buttons: string[]
46
46
  }>({ criterias: [], buttons: [] })
47
47
  onLoad((option: any) => {
48
- console.log(option,'jjj')
48
+ console.log(option.query,'jjj')
49
49
  sourceId.value = props.sourceId || option.sourceId
50
50
  mainCode.value = props.mainCode ||option.mainCode
51
- query.value=props.query || (option.query?JSON.parse(option.query).join('&'):'')
51
+ query.value=props.query || option.query
52
52
 
53
53
  uni.setNavigationBarTitle({ title: option.pageTitle })
54
54
  getPageConfig()