no message
Former-commit-id: ebcacc4c35b51fabdedb9bf24451a8b9ed0538a7 [formerly ebcacc4c35b51fabdedb9bf24451a8b9ed0538a7 [formerly ebcacc4c35b51fabdedb9bf24451a8b9ed0538a7 [formerly ebcacc4c35b51fabdedb9bf24451a8b9ed0538a7 [formerly 216cfba8dd9241eb118f912410a8ed9b47f73a4e [formerly bcfedd921c9bad92c44dedcd129515f4eee88ccc]]]]] Former-commit-id: 56791dd292b6cbafb8b2718fef86d7cde15912fa Former-commit-id: 9c010dd00d8c289f7b5cf9fb09e2c2382cea8709 Former-commit-id: a0b82a29f70845922f5a4df52bb7483615035037 [formerly 3f32892d7e2dd6cca6ac6548b16347f64b91e813] Former-commit-id: 0479a1aa8814cf6b6c98fcba6e7ad23c6b3cbf24 Former-commit-id: b233429360f4644df597cbe2dd8742e7c12b58cc Former-commit-id: f945650ec6a6c981401631d4e4233ac78699c6d5 Former-commit-id: 8d06fe548bae568d816fb936acdf35be400aa565 Former-commit-id: 08a50554c42e95f694c557a1b70c4070ceb27894
This commit is contained in:
@@ -5,20 +5,27 @@
|
||||
type="card"
|
||||
@tab-click="handleClick">
|
||||
<el-tab-pane
|
||||
v-for="n in 20"
|
||||
:key="n"
|
||||
:label="`页面 ${n}`"
|
||||
:name="`page${n}`">
|
||||
v-for="(page, index) in pageList"
|
||||
:key="index"
|
||||
:label="page.title"
|
||||
:name="page.name">
|
||||
</el-tab-pane>
|
||||
</el-tabs>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapState, mapMutations } from 'vuex'
|
||||
export default {
|
||||
data () {
|
||||
return {
|
||||
activeName: 'first'
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
...mapState({
|
||||
pageList: state => state.d2admin.pageList
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
handleClick (tab, event) {
|
||||
// console.log(tab, event)
|
||||
|
||||
Reference in New Issue
Block a user