mypage
This commit is contained in:
parent
9608322f93
commit
074fce7498
1 changed files with 1 additions and 3 deletions
|
|
@ -1,5 +1,4 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { storeToRefs } from "pinia";
|
|
||||||
import {computed, onMounted, ref} from 'vue';
|
import {computed, onMounted, ref} from 'vue';
|
||||||
import {useRoute} from 'vue-router';
|
import {useRoute} from 'vue-router';
|
||||||
|
|
||||||
|
|
@ -30,8 +29,7 @@ onMounted(async () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
const myPage = computed(() => {
|
const myPage = computed(() => {
|
||||||
return false;
|
return !userStore.isAnonymous && userStore.user.username == user?.value.username;
|
||||||
// return !userStore.isAnonymous && userStore.user.username == user.value.username;
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const meterValue = ref([
|
const meterValue = ref([
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue