fix: update

This commit is contained in:
xiaoxian521
2021-11-27 10:05:36 +08:00
parent 8c31ca1bad
commit b65b972353
7 changed files with 95 additions and 64 deletions

View File

@@ -5,9 +5,9 @@ import Storage from "responsive-storage";
export const injectResponsiveStorage = (app: App, config: ServerConfigs) => {
app.use(Storage, {
// 默认显示首页tag
routesInStorage: {
tags: {
type: Array,
default: Storage.getData(undefined, "routesInStorage") ?? [
default: Storage.getData(undefined, "tags") ?? [
{
path: "/welcome",
parentPath: "/",