From a0245caeb816fede8bb40c33e694de6419a21f26 Mon Sep 17 00:00:00 2001 From: chenos Date: Mon, 23 May 2022 15:01:56 +0800 Subject: [PATCH] fix(create-nocobase-app): storage path --- docs/en-US/release-notes.md | 2 +- packages/core/create-nocobase-app/src/generator.js | 2 +- packages/core/dumi-theme-nocobase/src/style/markdown.less | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/en-US/release-notes.md b/docs/en-US/release-notes.md index a469c68ec..1304996b0 100644 --- a/docs/en-US/release-notes.md +++ b/docs/en-US/release-notes.md @@ -1,6 +1,6 @@ # Release Notes -## 2022/05/22 ~ v0.7.0-alpha.59 +## 2022/05/23 ~ v0.7.0-alpha.59 - fix(client): improve translation - fix(cli): nocobase test command --db-clean option is invalid diff --git a/packages/core/create-nocobase-app/src/generator.js b/packages/core/create-nocobase-app/src/generator.js index 15e81c410..b9c5d7b8d 100644 --- a/packages/core/create-nocobase-app/src/generator.js +++ b/packages/core/create-nocobase-app/src/generator.js @@ -80,7 +80,7 @@ class AppGenerator extends Generator { if (!allDbDialect) { dependencies.push(`"sqlite3": "^5.0.8"`); } - envs.push(`DB_STORAGE=${env.DB_STORAGE || 'storages/db/nocobase.sqlite'}`); + envs.push(`DB_STORAGE=${env.DB_STORAGE || 'storage/db/nocobase.sqlite'}`); break; case 'mysql': if (!allDbDialect) { diff --git a/packages/core/dumi-theme-nocobase/src/style/markdown.less b/packages/core/dumi-theme-nocobase/src/style/markdown.less index 2445a2d60..be2e1e83d 100755 --- a/packages/core/dumi-theme-nocobase/src/style/markdown.less +++ b/packages/core/dumi-theme-nocobase/src/style/markdown.less @@ -219,6 +219,9 @@ // images img { max-width: 1000px; + @media @mobile { + width: 100%; + } } }