feat: 编译exe问题调试
This commit is contained in:
@@ -54,7 +54,10 @@ export const Session = {
|
||||
|
||||
// 获取临时缓存
|
||||
get(key: string) {
|
||||
if (key === 'token' || key === 'refresh_token') return Cookies.get(key);
|
||||
if (key === 'token' || key === 'refresh_token') {
|
||||
const cookieVal = Cookies.get(key);
|
||||
if (cookieVal) return cookieVal;
|
||||
}
|
||||
let json = <string>window.sessionStorage.getItem(key);
|
||||
return JSON.parse(json);
|
||||
},
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
</div> -->
|
||||
</div>
|
||||
|
||||
<!-- <img class="w-[540px]" src="@assets/images/login/logo.png" /> -->
|
||||
<img class="w-[540px]" src="@assets/images/login/logo.png" />
|
||||
</main>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user