This commit is contained in:
snltty
2024-05-09 21:29:02 +08:00
parent 1cfb77c2e9
commit 072e17f79f
2 changed files with 3 additions and 15 deletions

View File

@@ -11,8 +11,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "cmonitor.sas.service", "cmo
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "cmonitor.libs", "cmonitor.libs\cmonitor.libs.csproj", "{9080618D-367F-474E-AACA-A3C2F294448F}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "cmonitor.install.win1", "cmonitor.install.win1\cmonitor.install.win1.csproj", "{4EB9FFB0-B05C-4C4E-BD44-796715E47585}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "cmonitor.llock.win", "cmonitor.llock.win\cmonitor.llock.win.csproj", "{6F2602B3-221D-475D-B643-D54987605644}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "cmonitor.wallpaper.win", "cmonitor.wallpaper.win\cmonitor.wallpaper.win.csproj", "{41C61263-4F73-4C62-BD78-8C3612C8F98B}"
@@ -89,18 +87,6 @@ Global
{9080618D-367F-474E-AACA-A3C2F294448F}.Release|x64.Build.0 = Release|Any CPU
{9080618D-367F-474E-AACA-A3C2F294448F}.Release|x86.ActiveCfg = Release|Any CPU
{9080618D-367F-474E-AACA-A3C2F294448F}.Release|x86.Build.0 = Release|Any CPU
{4EB9FFB0-B05C-4C4E-BD44-796715E47585}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4EB9FFB0-B05C-4C4E-BD44-796715E47585}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4EB9FFB0-B05C-4C4E-BD44-796715E47585}.Debug|x64.ActiveCfg = Debug|Any CPU
{4EB9FFB0-B05C-4C4E-BD44-796715E47585}.Debug|x64.Build.0 = Debug|Any CPU
{4EB9FFB0-B05C-4C4E-BD44-796715E47585}.Debug|x86.ActiveCfg = Debug|Any CPU
{4EB9FFB0-B05C-4C4E-BD44-796715E47585}.Debug|x86.Build.0 = Debug|Any CPU
{4EB9FFB0-B05C-4C4E-BD44-796715E47585}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4EB9FFB0-B05C-4C4E-BD44-796715E47585}.Release|Any CPU.Build.0 = Release|Any CPU
{4EB9FFB0-B05C-4C4E-BD44-796715E47585}.Release|x64.ActiveCfg = Release|Any CPU
{4EB9FFB0-B05C-4C4E-BD44-796715E47585}.Release|x64.Build.0 = Release|Any CPU
{4EB9FFB0-B05C-4C4E-BD44-796715E47585}.Release|x86.ActiveCfg = Release|Any CPU
{4EB9FFB0-B05C-4C4E-BD44-796715E47585}.Release|x86.Build.0 = Release|Any CPU
{6F2602B3-221D-475D-B643-D54987605644}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6F2602B3-221D-475D-B643-D54987605644}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6F2602B3-221D-475D-B643-D54987605644}.Debug|x64.ActiveCfg = Debug|Any CPU

View File

@@ -93,11 +93,13 @@ export default {
queryCache.api = state.api;
queryCache.psd = state.psd;
queryCache.groupid = state.groupid;
queryCache.username = state.username;
localStorage.setItem('api-cache',JSON.stringify(queryCache));
}
const handleConnect = () => {
saveCache();
closeWebsocket();
//initWebsocket(`ws://hk.cmonitor.snltty.com:1801`,state.psd);
//initWebsocket(`ws://192.168.1.18:1801`,state.psd);
initWebsocket(`ws://${state.api}`,state.psd);
}
const handleUsername = () => {