• This project
    • Loading...
  • Sign in

qingger / allProject

Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • allProject
  • ..
  • index
  • textNav.vue
  • shipengfei's avatar
    Code Update · 92a52df2
    92a52df2 Browse Files
    shipengfei authored 2017-03-04 11:09:35 +0800
textNav.vue 534 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
<template>
    <div class="component-text-nav" @click="gotopage(item.prefix,item.url)">
        <span>{{item.title}}</span><img src="../../static/images/arr.svg"/>
    </div>
</template>

<script type="text/ecmascript-6">
    import {goto}  from '../../utils/commonUtil';
    export default {
        props: {
            item: ''
        },
        data() {
            return {};
        },
        methods: {
            gotopage(type, url){
                goto.gotopage(this, type, url);
            }
        }
    };
</script>