@lambo-design/pro-layout 1.0.0-beta.473 → 1.0.0-beta.474
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.
|
|
3
|
+
"version": "1.0.0-beta.474",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "lambo",
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"registry": "https://registry.npmjs.org/"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
|
-
"@lambo-design/
|
|
14
|
-
"@lambo-design/
|
|
13
|
+
"@lambo-design/shared": "^1.0.0-beta.384",
|
|
14
|
+
"@lambo-design/core": "^4.7.1-beta.183"
|
|
15
15
|
},
|
|
16
16
|
"scripts": {
|
|
17
17
|
"release-pro-layout": "pnpm release-beta && git push --follow-tags && pnpm re-publish",
|
|
@@ -111,12 +111,11 @@ export default {
|
|
|
111
111
|
toggleCollect(item) {
|
|
112
112
|
Bus.$emit('toggle-collect-menu',!this.collectMap[item.name],item)
|
|
113
113
|
},
|
|
114
|
-
|
|
114
|
+
dragOptions(item) {
|
|
115
115
|
if (!item) {
|
|
116
116
|
item = {}
|
|
117
117
|
}
|
|
118
118
|
item.navList = this.navList;
|
|
119
|
-
item = await addOttCode(item);
|
|
120
119
|
return {
|
|
121
120
|
trigger: '.menu-title-' + item.permissionId,
|
|
122
121
|
body: '.menu-title-' + item.permissionId,
|
|
@@ -406,12 +406,11 @@ export default {
|
|
|
406
406
|
const targetElement = this.$refs.listenWidth; // 获取 DOM 元素的引用
|
|
407
407
|
this.otherWidth = targetElement.clientWidth+'px'; // 获取 div 元素的宽度
|
|
408
408
|
},
|
|
409
|
-
|
|
409
|
+
dragOptions(item) {
|
|
410
410
|
if (!item) {
|
|
411
411
|
item = {}
|
|
412
412
|
}
|
|
413
413
|
item.navList = this.navList;
|
|
414
|
-
item = await addOttCode(item);
|
|
415
414
|
return {
|
|
416
415
|
trigger: '.menu-title-' + item.permissionId,
|
|
417
416
|
body: '.menu-title-' + item.permissionId,
|