update code
parent
3cbf34d55c
commit
ff2495ebeb
|
@ -20,7 +20,7 @@ class UserAPI {
|
|||
request<any, UserInfo>({
|
||||
url: "/users/current",
|
||||
method: "get",
|
||||
}).then(res =>{
|
||||
}).then((res:any) =>{
|
||||
resolve({
|
||||
"userId": res.data.data.user_id,
|
||||
"username": res.data.data.user_name,
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
<script setup>
|
||||
import {
|
||||
useAppStore,
|
||||
useTagsViewStore,
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
<script setup>
|
||||
import {
|
||||
useAppStore,
|
||||
useTagsViewStore,
|
||||
|
|
Loading…
Reference in New Issue