leisure-core 0.5.76 → 0.5.78
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/le-home/src/main.vue +1 -1
- package/le-list/src/main.vue +5 -0
- package/package.json +1 -1
package/le-home/src/main.vue
CHANGED
|
@@ -250,7 +250,7 @@ export default {
|
|
|
250
250
|
this.menuData = this.$store.getters.menu.filter(function (item) {
|
|
251
251
|
if (item.children) {
|
|
252
252
|
item.children = item.children.filter(function (item1) {
|
|
253
|
-
return item1.
|
|
253
|
+
return item1.ishide === 0;
|
|
254
254
|
});
|
|
255
255
|
}
|
|
256
256
|
return item;
|
package/le-list/src/main.vue
CHANGED
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
label="操作"
|
|
51
51
|
:width="btnCellWidht"
|
|
52
52
|
align="center"
|
|
53
|
+
v-if="isdispOper"
|
|
53
54
|
>
|
|
54
55
|
<template slot-scope="scope">
|
|
55
56
|
<template v-if="$scopedSlots.rowAllBtns">
|
|
@@ -129,6 +130,10 @@ export default {
|
|
|
129
130
|
type: Object,
|
|
130
131
|
default: () => {},
|
|
131
132
|
},
|
|
133
|
+
isdispOper: {
|
|
134
|
+
type: Boolean,
|
|
135
|
+
default: true,
|
|
136
|
+
},
|
|
132
137
|
isDispAddBtn: {
|
|
133
138
|
type: Boolean,
|
|
134
139
|
default: true,
|