@lambo-design/pro-layout 1.0.0-beta.126 → 1.0.0-beta.128

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.126",
3
+ "version": "1.0.0-beta.128",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {},
@@ -37,13 +37,15 @@ import config from "@lambo-design/shared/config/config";
37
37
  export default {
38
38
  name: 'ProLayoutSiderMenuItem',
39
39
  mixins: [sider, menuItem],
40
+ props: {
41
+ serverContext: {
42
+ type: String,
43
+ default: () => config.upmsServerContext
44
+ }
45
+ },
40
46
  data() {
41
47
  return {
42
48
  isCollected: {}, // 使用对象来记录每个子菜单的收藏状态
43
- serverContext: {
44
- type: String,
45
- default: () => config.upmsServerContext // 设置默认值
46
- }
47
49
  };
48
50
  },
49
51
  mounted() {