w-ui-v1 1.0.12 → 1.0.14

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.12",
3
+ "version": "1.0.14",
4
4
  "description": "w-ui",
5
5
  "author": "wgxshh",
6
6
  "license": "ISC",
package/w-menu/w-menu.vue CHANGED
@@ -25,6 +25,7 @@ onMounted(() => {
25
25
 
26
26
  // 点击菜单跳转页面
27
27
  function gotoPage(item: any) {
28
+ console.log(item)
28
29
  // 跳转页面
29
30
  if (goto(item))
30
31
  return
@@ -34,7 +35,7 @@ function gotoPage(item: any) {
34
35
 
35
36
  // 点击动作面板跳转页面
36
37
  function sheetGotoPage(item: any) {
37
- console.log(item)
38
+
38
39
  // 跳转页面
39
40
  if (goto(item))
40
41
  return
@@ -125,9 +126,9 @@ function queryList() {
125
126
  <view v-if="filtermenu.length > 0">
126
127
  <wd-card v-for="(item, index) in filtermenu" :key="index" :title="item.title">
127
128
  <template #default>
128
- <wd-grid :column="5">
129
+ <wd-grid :column="5" :clickable="true">
129
130
  <wd-grid-item v-for="(subItem, subIndex) in item.items" :key="subIndex" icon="list"
130
- :text="subItem.title" @click="gotoPage(subItem)" />
131
+ :text="subItem.title" @itemclick="gotoPage(subItem)" />
131
132
  </wd-grid>
132
133
  </template>
133
134
  </wd-card>