Files
LingXi-CRM/web/src/views/Result.vue
T

34 lines
738 B
Vue
Raw Normal View History

2022-11-28 16:38:45 +08:00
<template>
<div style="margin-top: 50px;">
2023-01-04 23:19:32 +08:00
<a-result status="403" sub-title="您需要订阅专业版或高级版才能使用该功能哦">
2022-11-28 16:38:45 +08:00
<template #extra>
<a-button type="primary" @click="onBuy">立即订阅</a-button>
</template>
</a-result>
</div>
</template>
<script>
import { useRouter } from 'vue-router'
2022-12-24 19:45:54 +08:00
import { useStore } from '../store/index';
2022-11-28 16:38:45 +08:00
export default {
setup() {
const router = useRouter()
2022-12-24 19:45:54 +08:00
const store = useStore()
2022-11-28 16:38:45 +08:00
const onBuy = () => {
2022-12-24 19:45:54 +08:00
store.selectedKeys = 'subscribe'
2022-11-28 16:38:45 +08:00
router.push('/subscribe')
}
return {
onBuy
}
}
}
</script>
<style>
</style>