Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

saas / scrm-micro-activity

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • scrm-micro-activity
  • src
  • components
  • collect-button.vue
  • 杨明's avatar
    fixed · a96411a2
    杨明 committed Jun 09, 2022
    a96411a2 Browse Files
collect-button.vue 424 Bytes
RawBlameHistoryPermalink
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="button-panel" v-stat="dataAnalyics">
    <slot></slot>
  </div>
</template>
<script>
export default {
  name: 'collect-button',
  data() {
    return {}
  },
  props: { dataAnalyics: Object },
  directives: {
    stat: function(el, binding, vnode) {
      el.addEventListener('click', function() {
        console.log(binding.value)
      })
    }
  }
}
</script>
<style scoped lang="scss"></style>