按测试意见调整

This commit is contained in:
aixianling
2024-07-16 09:08:47 +08:00
parent af5c7fb279
commit 42aca4d540
2 changed files with 6 additions and 5 deletions

View File

@@ -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>