You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
<template> <section> <report-index :xm-product="xmProduct" :xm-test-casedb="testCasedb" category="测试级"></report-index> </section></template>
<script> import { mapGetters } from 'vuex'; import reportIndex from './reportIndex'
export default { computed: { ...mapGetters([ 'userInfo','roles','testCasedb' ]), xmProduct:function(){ if(this.testCasedb&&this.testCasedb.id){ return {id:this.testCasedb.productId,productName:this.testCasedb.productName} }else{ return null; } } }, watch:{ }, data() { return { } },//end data
methods: { },//end methods
components: { reportIndex, //在下面添加其它组件
}, activated(){ }, mounted() { } }</script>
<style scoped> </style>
|