Browse Source

fix:uuid及ts检查的bug

master
wei_yunxiao 7 months ago
parent
commit
327b6b435a
  1. 1
      frontend/src/components/desktop/LockDesktop.vue
  2. 2
      frontend/src/hook/useComputer.ts

1
frontend/src/components/desktop/LockDesktop.vue

@ -121,6 +121,7 @@ onMounted(() => {
}); });
async function onLogin() { async function onLogin() {
localStorage.removeItem("godoosClientId");
if (loginCallback) { if (loginCallback) {
const res = await loginCallback(userName.value, userPassword.value); const res = await loginCallback(userName.value, userPassword.value);
if (res) { if (res) {

2
frontend/src/hook/useComputer.ts

@ -75,7 +75,7 @@ export const useComputer = (adpater: {
// const path = file?.isShare ? file.titleName : file.path // const path = file?.isShare ? file.titleName : file.path
const path = file.path const path = file.path
adpater.setRouter(path); adpater.setRouter(path);
refersh(file); refersh();
} else { } else {
adpater.openFile(file.path); adpater.openFile(file.path);
} }

Loading…
Cancel
Save