<template>
  <div>
    {{msg}} {{model}}
    <hello msg="测试开始"></hello>
  </div>
</template>

<script>
  import {HttpResetClass} from 'vue-client'
  export default {
    props: ['msg'],
    data () {
      return {
        model: ""
      }
    },
    methods: {
      setModel () {
        const reset = new HttpResetClass()
        reset.load('GET', '/rs/file/vue/a.vue', {}, {resolveMsg: null, rejectMsg: null}).then((res) => {
          this.model = res.data
        })
      }
    }
  }
</script>
