按测试意见调整
This commit is contained in:
@@ -15,14 +15,15 @@ export default {
|
||||
currentPage() {
|
||||
let {hash} = this.$route
|
||||
return hash == "#add" ? Add : List
|
||||
}
|
||||
},
|
||||
appName: v => v.menuName || v.$options.label
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<section class="AppCopilotConfig">
|
||||
<component :is="currentPage" v-bind="$props"/>
|
||||
<component :is="currentPage" v-bind="$props" :appName="appName"/>
|
||||
</section>
|
||||
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user