<template>
    <div>
        <el-button @click="getTemplates">取消</el-button>
    </div>
</template>
<script>
export default {
  data() {
    return {
      items: []
    }
  },
  methods: {
    getTemplates: function() {
        console.log("ddd")
      this.$http.test({}, this).then(res => {
        console.log(res)
      })
    }
  }
}
</script>
