w-ui-v1 1.1.11 → 1.1.12

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.1.11",
3
+ "version": "1.1.12",
4
4
  "description": "w-ui",
5
5
  "author": "wgxshh",
6
6
  "license": "ISC",
package/w-card/w-card.vue CHANGED
@@ -51,7 +51,7 @@ const props = defineProps({
51
51
  editButtonConfig:{
52
52
  type:Object,
53
53
  default:{
54
- label:"",
54
+ label:null,
55
55
  show:null
56
56
  }
57
57
  }
package/w-menu/w-menu.vue CHANGED
@@ -55,9 +55,16 @@ function goto(item: any) {
55
55
  console.log(item.pageType)
56
56
  switch (item.pageType) {
57
57
  case "列表":
58
- uni.navigateTo({
59
- url: `/pages/table/table?sourceId=${item.id}&pageTitle=${item.title}`,
60
- })
58
+ if(item.customPath){
59
+ uni.navigateTo({
60
+ url: `/${item.customPath}`,
61
+ })
62
+ }else{
63
+ uni.navigateTo({
64
+ url: `/pages/table/table?sourceId=${item.id}&pageTitle=${item.title}`,
65
+ })
66
+ }
67
+
61
68
  return true
62
69
  break;
63
70
  case "报表":