var tmpl=`
    <el-button    @click="onclick(code)">
            <el-row  style="margin-top:10px">
              <slot></slot>
            </el-row>
            <el-row style="margin-top:5px">
              <el-col :span="24">
                  <span class="xbutton-text">{{text}}</span>
              </el-col>
            </el-row>
    </el-button>
`
module.exports=
`{
   template:'${tmpl}',
   props:['text',"code"],
   data:function(){
     return {
     };
   },
   methods:{
     onclick:function(code){
       this.$emit("click",code);
       this.$emit("xclick",code);
     }
   },
   computed:{

   },
   vname:"gsb-xbutton"
}`
