Skip to content
  • This project
    • Loading...
  • Sign in

bdc / bdcjg-web

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
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • bdcjg-web
  • src
  • components
  • Button.vue
  • xiaomiao's avatar
    按钮样式调整 · 07b5b0be
    07b5b0be Browse Files
    xiaomiao committed 2023-03-21 10:54:58 +0800
Button.vue 435 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 23 24
<template>
  <el-button class="button" :class="nativeType" @click.prevent="handleClick" :type="nativeType">
    <slot></slot>
  </el-button>
</template>
<script>
  export default {
    name: 'Button',
    props: {
      nativeType: {
        type: String,
        default: 'cx'
      },
    },
    methods: {
      handleClick (evt) {
        this.$emit('click', evt);
      }
    }
  };
</script>
<style scoped lang="scss">

</style>