Skip to content

Commit

Permalink
lambda version
Browse files Browse the repository at this point in the history
  • Loading branch information
munkh-altai committed Oct 12, 2023
1 parent 400ef31 commit 61f2788
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@firebase/messaging": "^0.10.0",
"@headlessui/vue": "^1.6.7",
"@heroicons/vue": "^1.0.6",
"@lambda-platform/lambda-vue": "3.2.18",
"@lambda-platform/lambda-vue": "3.2.25",
"@nuxt/postcss8": "^1.1.3",
"@turf/turf": "^6.5.0",
"@vue/apollo-option": "^4.0.0-alpha.17",
Expand Down
2 changes: 1 addition & 1 deletion src/assets/styles/components/avatar.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.avatar {
margin: 12px 0 12px 0;

color: $primary-color;
background: $gray-color;
vertical-align: middle;
Expand Down
12 changes: 6 additions & 6 deletions src/assets/styles/components/overwriteAnt.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@


}

.ant-btn-primary {
&:active,
&:hover,
&:focus {
color: #fff !important;
}
background-color: var(--ant-primary-color);

}
.ant-btn-primary.ant-btn-background-ghost {
color: var(--ant-primary-color);

}
.ant-image-preview-img{
display: inline-block;
Expand Down
13 changes: 13 additions & 0 deletions src/components/tools/UserMenu/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,19 @@
</span>
<template #overlay>
<a-menu class="user-dropdown-menu-wrapper">
<div class="flex items-center space-x-3 mr-2 pt-4 border-b pb-3">
<div class="avatarMenu flex items-center align-center ">
<img :src="base_url+avatar" alt="avatar" v-if="avatar" class="rounded-full w-8 h-8 ml-3 ">
<div class="avatar ml-4" v-else>
<span class="svg-icon-white rounded-full w-8 h-8 " ><inline-svg src="/assets/icons/duotune/communication/com006.svg"/></span>
</div>

</div>
<div class="flex flex-col align-center">
<span class="leading-4 dark:text-white">{{nickname}}</span>
<!-- <span class="text-xs font-light"></span>-->
</div>
</div>
<a-menu-item key="1"
>
<router-link
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/core/axios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function initAxios() {
}
}
export function setToken(token) {
axios.defaults.headers.common['Authorization'] = 'Bearer '+token;
axios.defaults.headers.common['Authorization'] = 'Bearer ' + token;
axios.defaults.headers.common['Content-Type'] = 'application/json';
axios.defaults.withCredentials = true;
}
Expand Down

0 comments on commit 61f2788

Please sign in to comment.