@lambo-design/pro-layout 1.0.0-beta.405 → 1.0.0-beta.407

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.405",
3
+ "version": "1.0.0-beta.407",
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/shared": "^1.0.0-beta.292",
14
- "@lambo-design/core": "^4.7.1-beta.167"
13
+ "@lambo-design/core": "^4.7.1-beta.169",
14
+ "@lambo-design/shared": "^1.0.0-beta.297"
15
15
  },
16
16
  "scripts": {
17
17
  "release-pro-layout": "pnpm release-beta && git push --follow-tags && pnpm re-publish",
@@ -155,17 +155,17 @@ export default {
155
155
  oldAppConfig = JSON.parse(oldAppInfo.setting)
156
156
  }
157
157
  let newAppConfig = {}
158
- if(oldAppInfo.extendProps){
158
+ if(this.appInfo.extendProps){
159
159
  newAppConfig = this.appInfo.extendProps
160
160
  }
161
- if(oldAppInfo.setting){
161
+ if(this.appInfo.setting){
162
162
  newAppConfig = JSON.parse(this.appInfo.setting)
163
163
  }
164
164
  if(oldAppConfig && oldAppConfig.hasOwnProperty('is_hide_left_menu')
165
165
  && oldAppConfig.is_hide_left_menu === '1' && oldAppConfig.homePagePath){
166
166
  if (newAppConfig && newAppConfig.hasOwnProperty('is_hide_left_menu')
167
167
  && newAppConfig.is_hide_left_menu === '1' && newAppConfig.homePagePath) {
168
- let removeTag = this.tagList.filter(item => item.meta.appId===oldAppInfo.appId)
168
+ let removeTag = this.tagList.filter(item => item.meta.appId === oldAppInfo.appId)
169
169
  this.handleClose(removeTag[0])
170
170
  } else {
171
171
  this.handleTagsOption('all');
@@ -163,10 +163,16 @@
163
163
  &.ivu-menu-item-active,&.ivu-menu-item-selected{
164
164
  background: var(--layout-sider-menuitem-active-background,@_layout-sider-menuitem-active-background)!important;
165
165
  color: var(--layout-sider-menuitem-active-color,@_layout-sider-menuitem-active-color);
166
+ margin:var(--layout-sider-menuitem-active-margin,@_layout-sider-menuitem-active-margin);
167
+ border-radius: var(--layout-sider-menuitem-active-border-radius,@_layout-sider-menuitem-active-border-radius);
168
+ font-weight: var(--layout-sider-menuitem-active-font-weight,@_layout-sider-menuitem-active-font-weight);
166
169
  }
167
170
  &:hover{
168
171
  background: var(--layout-sider-menuitem-hover-background,@_layout-sider-menuitem-hover-background)!important;
169
172
  color: var(--layout-sider-menuitem-hover-color,@_layout-sider-menuitem-hover-color);
173
+ margin:var(--layout-sider-menuitem-active-margin,@_layout-sider-menuitem-active-margin);
174
+ border-radius: var(--layout-sider-menuitem-active-border-radius,@_layout-sider-menuitem-active-border-radius);
175
+ font-weight: var(--layout-sider-menuitem-active-font-weight,@_layout-sider-menuitem-active-font-weight);
170
176
  }
171
177
  }
172
178
  }