fix: debug

This commit is contained in:
osiris
2024-03-06 16:55:48 +08:00
parent 3a0eaa24ac
commit 9c8d1e2f86
4 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -1,10 +1,10 @@
<script setup lang="ts">
// import { reactive } from 'vue'
import { rev } from 'vue'
// import { copy } from '@/utils/string'
// const info = reactive({
// title: "关于本站",
// })
const feedBackUrl = import.meta.env.VITE_FEEDBACK_URL
//copy
// const copyRes = async (resStr: string) => {
// copy(resStr)
@@ -21,7 +21,7 @@
<br>
<p class="font-bold">联系作者/问题反馈</p>
<br>
<p>反馈中心<el-link href="https://txc.qq.com/products/619520">https://txc.qq.com/products/619520</el-link></p>
<p>反馈中心<el-link :href="feedBackUrl">{{ feedBackUrl }}</el-link></p>
<br>
<p>邮箱taoran0796@163.com</p>
<br>
+1 -1
View File
@@ -172,7 +172,7 @@ onMounted(() => {
<li class="hover:text-blue-500">
<el-button link size="large" @click="collect">收藏本站</el-button>
</li>
<li class="ml-3" v-if="userStore.token?.length != 0">
<li class="ml-3" v-if="userStore.isLogin()">
<!-- userStore.avatar -->
<el-image class="w-10 h-10 cursor-pointer" fit="cover" :src="(userStore.avatar == '' || userStore.avatar == null || userStore.avatar == undefined) ? defAvatar : userStore.avatar" v-popover="userPopRef"></el-image>
<el-popover
+1 -1
View File
@@ -87,7 +87,7 @@ export const useUserStore = defineStore('user', {
},
//获取用户信息
async userInfo() {
if (this.token?.length == 0) {
if (!this.isLogin()) {
return
}
//发送请求