Commit ecd3f1bd authored by les's avatar les
Browse files

[fix] delete event

parent 4eff9acb
......@@ -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'), {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment