From 6f5355d909895fb124bc24a2c4278c4cd63a1b7c Mon Sep 17 00:00:00 2001 From: wuyize Date: Thu, 6 Jul 2023 21:40:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96userId?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AicsKnowledgeBase/qml/LoginWindow.qml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/AicsKnowledgeBase/qml/LoginWindow.qml b/AicsKnowledgeBase/qml/LoginWindow.qml index 2779d07..9b75dfa 100644 --- a/AicsKnowledgeBase/qml/LoginWindow.qml +++ b/AicsKnowledgeBase/qml/LoginWindow.qml @@ -105,6 +105,12 @@ AppFluWindow { console.log(data) UserData.username = param.username + Request.get("user", + function (res, data) { + console.log("userId:") + console.log(data.id) + UserData.userId = data.id + }) FluApp.navigate("/") window.close() }, function (p1, p2) {