gocron/web/vue/src/components/common/notFound.vue

27 lines
470 B
Vue

<template>
<el-dialog
title="您访问的页面不存在"
:visible.sync="dialogVisible"
:close-on-click-modal="false"
:show-close="false"
:close-on-press-escape="false">
<el-button type="primary" @click="jump"></el-button>
</el-dialog>
</template>
<script>
export default {
name: 'not-found',
data () {
return {
dialogVisible: true
}
},
methods: {
jump () {
this.$router.push('/')
}
}
}
</script>