BUG 29268

This commit is contained in:
2022-04-24 10:12:13 +08:00
parent 6a75a3470f
commit 5ea1728dbb
2 changed files with 5 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div class="AppPartyMember">
<component ref="component" :is="component" :selected.sync="selected" :instance="instance" :dict="dict"/>
<component ref="component" :is="currentPage" :selected.sync="selected" v-bind="$props"/>
</div>
</template>
@@ -22,7 +22,8 @@ export default {
},
props: {
instance: Function,
dict: Object
dict: Object,
permissions:Function
},
data() {
return {
@@ -31,7 +32,7 @@ export default {
},
computed: {
...mapState(['user']),
component() {
currentPage() {
if (this.$route.hash == "#add") {
return Add
} else if (this.$route.hash == "#ns") {