Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

saas / scrm-micro-settings

  • 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-settings
  • src
  • views
  • role
  • add.vue
  • 胡悦's avatar
    修改商户传参 · b2e15b95
    胡悦 committed Oct 14, 2021
    b2e15b95 Browse Files
add.vue 388 Bytes
RawBlameHistoryPermalink
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>
  <div>
    <GLExternal :url="url" :subscribe="subscribe"></GLExternal>
  </div>
</template>

<script>
export default {
  name: 'adapter',
  data() {
    return {
      url: this.$router.currentRoute.meta.url
    }
  },
  methods: {
    subscribe(child) {
      child.on('route-to', params => {
        this.$history.push(params)
      })
    }
  }
}
</script>
<style></style>