布局问题知识库

This commit is contained in:
qq787203167
2022-08-02 10:40:12 +08:00
parent d68b6fef5c
commit 093897e85a
@@ -0,0 +1,40 @@
<template>
<a-card :bordered="false">
<a-tabs v-model="tabModel" @change="callback">
<a-tab-pane :key="$t('problemKnowledgeBase')" :tab="$t('problemKnowledgeBase')">
<problemKnowledgeBaseList v-if="tabModel == $t('problemKnowledgeBase')" ref="problemKnowledgeBaseListRef"/>
</a-tab-pane>
<a-tab-pane key="Country Card" tab="Country Card">
<countryCardList v-if="tabModel == 'Country Card'" ref="countryCardListRef"/>
</a-tab-pane>
</a-tabs>
</a-card>
</template>
<script>
import problemKnowledgeBaseList from './components/problemKnowledgeBaseList'
import countryCardList from './components/countryCardList'
export default {
name: 'index',
components: {
problemKnowledgeBaseList,
countryCardList
},
data() {
return {
tabModel: this.$t('problemKnowledgeBase')
}
},
mounted() {
},
methods: {
callback(key) {
}
}
}
</script>
<style scoped>
</style>