Files
LingXi-CRM/web/src/views/Result.vue
T
2023-01-04 23:19:32 +08:00

34 lines
738 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<template>
<div style="margin-top: 50px;">
<a-result status="403" sub-title="您需要订阅专业版或高级版才能使用该功能哦">
<template #extra>
<a-button type="primary" @click="onBuy">立即订阅</a-button>
</template>
</a-result>
</div>
</template>
<script>
import { useRouter } from 'vue-router'
import { useStore } from '../store/index';
export default {
setup() {
const router = useRouter()
const store = useStore()
const onBuy = () => {
store.selectedKeys = 'subscribe'
router.push('/subscribe')
}
return {
onBuy
}
}
}
</script>
<style>
</style>