ปรับ UI / ปรับคำถามใหม่
All checks were successful
frontend-action / build-image (push) Successful in 1m23s
All checks were successful
frontend-action / build-image (push) Successful in 1m23s
This commit is contained in:
@@ -42,9 +42,11 @@
|
||||
<v-menu transition="slide-x-transition" v-if="getUsername">
|
||||
<template v-slot:activator="{ props }">
|
||||
<v-btn elevated color="#F4C03F" v-bind="props" height="40">
|
||||
<!-- {{ getImg }} -->
|
||||
|
||||
<v-avatar
|
||||
color="#635d56"
|
||||
v-if="getImg"
|
||||
v-if="getImg&&img"
|
||||
:image="getImg"
|
||||
size="30"
|
||||
>
|
||||
@@ -127,7 +129,7 @@ export default {
|
||||
if (this.getUsername == "") {
|
||||
this.$store.commit("setUsername", this.username);
|
||||
}
|
||||
if (this.getImg == "") {
|
||||
if (this.getImg == ""||this.getImg == null||this.getImg == undefined) {
|
||||
this.$store.commit("setImg", this.img);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user