Vue.component('header-tab', { template: '
\
\
{{appname}}
\
\ \ \
\
\ \ \ \
\
', props: ["appname","code","isback", "isrefresh","isfilter","isopen", "isdownload"], data: function() { return { } }, mounted: function() { }, methods: { //返回事件 back:function(){ EventBus.$emit('back-click', {}); }, //刷新事件 refresh:function(){ EventBus.$emit('refresh-click', {}); }, //筛选事件 filter:function(){ EventBus.$emit('filter-click', {}); }, //展开事件 open:function(){ EventBus.$emit('open-click', {}); }, download: function(){ this.$emit('download', {}); } } })