From a77fa674a051fadfe32106a097c5f31eda10bc2c Mon Sep 17 00:00:00 2001 From: taoshihan1991 <630892807@qq.com> Date: Tue, 21 Jul 2020 10:51:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E8=88=AA=E6=A0=8F=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/html/main.html | 4 ++++ static/html/nav.html | 10 +++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/static/html/main.html b/static/html/main.html index c08178f..23a3352 100644 --- a/static/html/main.html +++ b/static/html/main.html @@ -71,6 +71,8 @@ data: { iframeUrl:"", mailTotal:0, + adminAvator:"", + adminRole:"", }, methods: { openIframeUrl(url){ @@ -97,6 +99,8 @@ if (data.code != 200) { window.location.href="/login"; } else { + _this.adminAvator=data.result.avator; + _this.adminRole=data.result.role_name; _this.iframeUrl = "/chat_main"; } } diff --git a/static/html/nav.html b/static/html/nav.html index b17e24f..e8d96ec 100644 --- a/static/html/nav.html +++ b/static/html/nav.html @@ -7,6 +7,14 @@ 聊天 设置 - 退出 + + + + 退出 + + {{end}} \ No newline at end of file