Commit 0208bedf authored by dragondean@qq.com's avatar dragondean@qq.com Committed by houjn@hikoon.cn

改捷哥链接

parent b1574055
<template> <template>
<iframe src="https://chat.groupage.cn/" class="iframe"></iframe> <iframe :src="url" class="iframe"></iframe>
</template> </template>
<style> <style>
.iframe{ .iframe{
...@@ -8,3 +8,24 @@ ...@@ -8,3 +8,24 @@
border: none; border: none;
} }
</style> </style>
<script>
import {getUserProfile} from "@/api/system/user";
export default {
data() {
return {
username: ''
}
},
computed:{
url(){
return 'https://chatgpt.groupage.cn/#/' + this.username
}
},
created() {
getUserProfile().then(res => {
this.username = res.data.username
})
}
}
</script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment