changes
This commit is contained in:
23
components/menu/MenuDocker.vue
Normal file
23
components/menu/MenuDocker.vue
Normal file
@@ -0,0 +1,23 @@
|
||||
<template>
|
||||
<div>
|
||||
<a @click="stop()">
|
||||
<SvgIcon v-bind="{name: 'stop.svg', type: 'gray', size: 20}"></SvgIcon>
|
||||
</a>
|
||||
<a class="ml-3" @click="start()">
|
||||
<SvgIcon v-bind="{name: 'play.svg', type: 'gray', size: 20}"></SvgIcon>
|
||||
</a>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
props: ['row'],
|
||||
methods: {
|
||||
stop() {
|
||||
this.$emit('clickevent', {name: 'dataevent', data: 'stop'})
|
||||
},
|
||||
start() {
|
||||
this.$emit('clickevent', {name: 'dataevent', data: 'start'})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user