mirror of
https://github.com/Qsgs-Fans/FreeKill.git
synced 2024-11-16 19:58:13 +08:00
58ea0ca80a
* standard generals * assignrole * arrangeSeat * fix bugs
14 lines
359 B
JavaScript
14 lines
359 B
JavaScript
callbacks["UpdateAvatar"] = function(jsonData) {
|
|
mainWindow.busy = false;
|
|
Self.avatar = jsonData;
|
|
toast.show("Update avatar done.");
|
|
}
|
|
|
|
callbacks["UpdatePassword"] = function(jsonData) {
|
|
mainWindow.busy = false;
|
|
if (jsonData === "1")
|
|
toast.show("Update password done.");
|
|
else
|
|
toast.show("Old password wrong!", 5000);
|
|
}
|