@lambo-design/pro-layout 1.0.0-beta.111 → 1.0.0-beta.112

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": "@lambo-design/pro-layout",
3
- "version": "1.0.0-beta.111",
3
+ "version": "1.0.0-beta.112",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {},
@@ -104,7 +104,6 @@ export default {
104
104
  })
105
105
  },
106
106
  acceptAppId(val) {
107
- console.log('监听成功')
108
107
  this.selectApp(val)
109
108
  }
110
109
  },
@@ -49,7 +49,6 @@ export default {
49
49
  fetchCollectedMenus() {
50
50
  ajax.get(config.upmsServerContext + "/manage/upmsMenuCollect/list").then(resp => {
51
51
  const collectedMenus = resp.data.data;
52
- // console.log('collectedMenus', collectedMenus)
53
52
  if (Array.isArray(collectedMenus)) {
54
53
  collectedMenus.forEach(menu => {
55
54
  // 使用 menu 的 name 属性作为键
@@ -62,7 +61,6 @@ export default {
62
61
  }).catch(err => {
63
62
  console.error("Error fetching collected menus:", err);
64
63
  });
65
- // console.log('isCollected', this.isCollected)
66
64
  },
67
65
  toggleCollect(item) {
68
66
  const self = this;
@@ -122,7 +122,6 @@ export default {
122
122
  initMenu(data){
123
123
  if (data && data.length > 0) {
124
124
  let item = data[0];
125
- // console.log("item:",item)
126
125
  if (item.appId && item.appId !== this.appId) {
127
126
  return;
128
127
  }
@@ -131,7 +130,6 @@ export default {
131
130
  this.changeMenu()
132
131
  },
133
132
  selectHandle(name){
134
- console.log('valueTest:',name)
135
133
  this.$emit('on-select', name)
136
134
  },
137
135
  changeApp(appId,appInfo){