update information

This commit is contained in:
vue-admin-beautiful.com 2021-07-15 20:42:50 +08:00
parent 1a9921ce40
commit e934394182
2 changed files with 19 additions and 37 deletions

View File

@ -8,6 +8,7 @@
</span>
<template v-slot:overlay>
<a-menu>
<a-menu-item @click="buy">付费版购买</a-menu-item>
<a-menu-item @click="logout">退出登录</a-menu-item>
</a-menu>
</template>
@ -28,7 +29,7 @@
setup() {
const store = useStore()
const logout = async function () {
const logout = async () => {
await this.$store.dispatch('user/logout')
if (recordRoute) {
const fullPath = this.$route.fullPath
@ -38,10 +39,15 @@
}
}
const buy = () => {
window.open('http://vue-admin-beautiful.com/authorization/')
}
return {
avatar: computed(() => store.getters['user/avatar']),
username: computed(() => store.getters['user/username']),
logout,
buy,
}
},
}

View File

@ -59,10 +59,20 @@
<td>{{ dependencies['ant-design-vue'] }}</td>
</tr>
<tr>
<td>PRO版演示地址付费版</td>
<td>Admin Pro版演示地址付费版</td>
<td colspan="3">
<a
href="http://vue-admin-beautiful.com/vue-admin-beautiful-pro?hmsr=mwsqj&hmpl=&hmcu=&hmkw=&hmci="
href="http://vue-admin-beautiful.com/admin-pro?hmsr=mwsqj&hmpl=&hmcu=&hmkw=&hmci="
>
点我
</a>
</td>
</tr>
<tr>
<td>Admin Plus版演示地址付费版</td>
<td colspan="3">
<a
href="http://vue-admin-beautiful.com/admin-plus?hmsr=mwsqj&hmpl=&hmcu=&hmkw=&hmci="
>
点我
</a>
@ -74,40 +84,6 @@
<a href="https://github.com/chuzhixin/vue-admin-beautiful">点我</a>
</td>
</tr>
<tr>
<td>v2.x版演示地址MIT协议商用免费</td>
<td colspan="3">
<a
href="http://vue-admin-beautiful.com/vue-admin-beautiful-element?hmsr=mwsqj&hmpl=&hmcu=&hmkw=&hmci="
>
点我
</a>
</td>
</tr>
<tr>
<td>v3.element-plus MIT协议商用免费</td>
<td colspan="3">
<a
href="http://vue-admin-beautiful.com/vue-admin-beautiful-element-plus?hmsr=mwsqj&hmpl=&hmcu=&hmkw=&hmci="
>
点我
</a>
</td>
</tr>
<tr>
<td>v3.x版演示地址antdv MIT协议商用免费</td>
<td colspan="3">
<a
href="http://vue-admin-beautiful.com/vue-admin-beautiful-antdv?hmsr=mwsqj&hmpl=&hmcu=&hmkw=&hmci="
>
点我
</a>
</td>
</tr>
<tr>
<td>官方QQ群</td>
<td colspan="3">9724353191139183756</td>
</tr>
</table>
</div>
</a-card>