Compare commits

..

No commits in common. "edfdf8b9ad946cdb8019cc46f29dbd8bbdc560e0" and "0ad99e9ac2772c668b243f14398b3c0411be2c01" have entirely different histories.

1 changed files with 1 additions and 3 deletions

View File

@ -1,7 +1,7 @@
<template> <template>
<el-tabs v-model="active" class="demo-tabs" @tab-change="handleClick"> <el-tabs v-model="active" class="demo-tabs" @tab-change="handleClick">
<template v-for="(item,index) in gradeList" :key="index"> <template v-for="(item,index) in gradeList" :key="index">
<el-tab-pane :label="item.label" :name="item.value" disabled> <el-tab-pane :label="item.label" :name="item.value">
<SelectSubject ref="selectSubject" :subjectList="subjectList" @clickTag="getTagId"></SelectSubject> <SelectSubject ref="selectSubject" :subjectList="subjectList" @clickTag="getTagId"></SelectSubject>
</el-tab-pane> </el-tab-pane>
</template> </template>
@ -24,9 +24,7 @@ const active = ref(1)
const subjectList = ref([]) const subjectList = ref([])
//id //id
const textbookVersionId = ref(0) const textbookVersionId = ref(0)
//
const handleClick = (tab) => { const handleClick = (tab) => {
console.log(tab,'tab')
getSubject(tab) getSubject(tab)
} }
// //