From 27d109b5792305d849f578627f98e1cb55a330f4 Mon Sep 17 00:00:00 2001 From: wayne <wayne8692wayne8692@gmail.com> Date: 星期五, 11 三月 2022 15:12:54 +0800 Subject: [PATCH] Merge branch 'Phase3' into pollex-dev --- PAMapp/components/Ui/UiAvatar.vue | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/PAMapp/components/Ui/UiAvatar.vue b/PAMapp/components/Ui/UiAvatar.vue index b9a79d1..2cd6eb3 100644 --- a/PAMapp/components/Ui/UiAvatar.vue +++ b/PAMapp/components/Ui/UiAvatar.vue @@ -2,7 +2,7 @@ <el-avatar :size="size" :src="imgSrc" - class="pam-avatar cursor--pointer" + class="pam-avatar cursor--pointer fix-chrome-click--issue" ></el-avatar> </template> @@ -11,11 +11,14 @@ @Component export default class UiAvatar extends Vue { - @Prop() size!: number; - @Prop() fileName!: string; + @Prop() + size!: number; + + @Prop() + agentNo!: string; get imgSrc() { - return process.env.BASE_URL + '/consultant/avatar/' + this.fileName; + return process.env.BASE_URL + '/consultant/avatar/' + this.agentNo; } } -</script> \ No newline at end of file +</script> -- Gitblit v1.8.0