const testComponents = {
  template: `
  
    
      
自定义组件
      我是参数:{{dataParams}}
      data:{{dataChart}}
      params:{{dataAxios.config}}
    
   
`,
  name: 'test',
  props: {
    option: Object,
    component: Object
  },
  computed: {
    styleName () {
      return {
        fontSize: this.fontSize,
        color: this.color
      }
    },
    color () {
      return this.option.color || '#fff'
    },
    fontSize () {
      return (this.option.fontSize || 30) + 'px'
    }
  }
}
const testOption = {
  template: `
  
`,
  name: 'test',
  inject: ["main"]
}