|
@@ -136,6 +136,10 @@ export default {
|
|
|
replaceOrNotMap: {
|
|
|
type: Boolean,
|
|
|
default: true
|
|
|
+ },
|
|
|
+ setModuleId: {
|
|
|
+ type: [String, Number],
|
|
|
+ default: null
|
|
|
}
|
|
|
},
|
|
|
data() {
|
|
@@ -210,7 +214,7 @@ export default {
|
|
|
return this.$store.getters.userid
|
|
|
},
|
|
|
moduleId() {
|
|
|
- return this.$route.meta.moduleId
|
|
|
+ return this.setModuleId || this.$route.meta.moduleId
|
|
|
},
|
|
|
moduleName() {
|
|
|
return this.customModuleName || this.$route.meta.title
|