diff --git a/src/layout/vab-avatar/index.vue b/src/layout/vab-avatar/index.vue index 7f5f096..8e15d23 100644 --- a/src/layout/vab-avatar/index.vue +++ b/src/layout/vab-avatar/index.vue @@ -8,6 +8,7 @@ @@ -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, } }, } diff --git a/src/views/index/components/VersionInformation.vue b/src/views/index/components/VersionInformation.vue index 0695c16..790de94 100644 --- a/src/views/index/components/VersionInformation.vue +++ b/src/views/index/components/VersionInformation.vue @@ -59,10 +59,20 @@ {{ dependencies['ant-design-vue'] }} - PRO版演示地址(付费版) + Admin Pro版演示地址(付费版) + 点我 + + + + + Admin Plus版演示地址(付费版) + + 点我 @@ -74,40 +84,6 @@ 点我 - - v2.x版演示地址(MIT协议,商用免费) - - - 点我 - - - - - v3.element-plus MIT协议,商用免费) - - - 点我 - - - - - v3.x版演示地址(antdv MIT协议,商用免费) - - - 点我 - - - - - 官方QQ群 - 972435319、1139183756 -