From ac594e4efb30ba28776d74b0fb08ab34d7c32023 Mon Sep 17 00:00:00 2001 From: HelenHuang <LinHuang@pollex.com.tw> Date: 星期四, 30 十二月 2021 15:20:08 +0800 Subject: [PATCH] Merge branch 'Phase2' --- PAMapp/components/Ui/UiAvatar.vue | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/PAMapp/components/Ui/UiAvatar.vue b/PAMapp/components/Ui/UiAvatar.vue index 55a5763..22bd458 100644 --- a/PAMapp/components/Ui/UiAvatar.vue +++ b/PAMapp/components/Ui/UiAvatar.vue @@ -11,11 +11,14 @@ @Component export default class UiAvatar extends Vue { - @Prop() size!: number; - @Prop() fileName!: string; + @Prop() + size!: number; + + @Prop() + fileName!: 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