fix: 清除缓存导致自定义服务器失败的问题

This commit is contained in:
kuaifan 2021-12-27 14:48:39 +08:00
parent 6741f59aef
commit 6c458b81b2
4 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "DooTask",
"version": "0.4.77",
"version": "0.4.78",
"description": "DooTask is task management system.",
"main": "main.js",
"license": "MIT",

View File

@ -1,6 +1,6 @@
{
"name": "DooTask",
"version": "0.4.77",
"version": "0.4.78",
"description": "DooTask is task management system.",
"scripts": {
"start": "./cmd dev",

2
public/js/app.js vendored

File diff suppressed because one or more lines are too long

View File

@ -392,6 +392,7 @@ export default {
state.cacheTasks = state.tasks = state.taskSubs = [];
//
state.method.setStorage("cacheTablePanel", state.cacheTablePanel);
state.method.setStorage("cacheServerUrl", state.cacheServerUrl);
state.method.setStorage("cacheLoginEmail", cacheLoginEmail);
dispatch("saveUserInfo", state.method.isJson(userInfo) ? userInfo : state.userInfo);
//