[fix] delete event
This commit is contained in:
parent
4eff9acbc3
commit
ecd3f1bd05
2 changed files with 2 additions and 1 deletions
|
@ -176,7 +176,6 @@ export default {
|
|||
}
|
||||
},
|
||||
methods: {
|
||||
...mapActions(['delEvent']),
|
||||
copyLink () {
|
||||
this.copied=true
|
||||
setTimeout(() => this.copied=false, 3000)
|
||||
|
|
|
@ -9,11 +9,13 @@ el-menu
|
|||
</template>
|
||||
<script>
|
||||
import { MessageBox } from 'element-ui'
|
||||
import { mapActions } from 'vuex'
|
||||
|
||||
export default {
|
||||
name: 'EventAdmin',
|
||||
props: ['event'],
|
||||
methods: {
|
||||
...mapActions(['delEvent']),
|
||||
async remove () {
|
||||
try {
|
||||
await MessageBox.confirm(this.$t('event.remove_confirmation'), this.$t('common.confirm'), {
|
||||
|
|
Loading…
Reference in a new issue