From a3716f72066d25d745f4d5103ff23a553c3e102b Mon Sep 17 00:00:00 2001 From: wayne <wayne8692wayne8692@gmail.com> Date: 星期四, 17 二月 2022 11:41:19 +0800 Subject: [PATCH] Merge branch 'sit' into uat --- 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..2cd6eb3 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() + 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