fix: typo

This commit is contained in:
chenos 2021-10-07 21:54:10 +08:00
parent 8561502384
commit 681d940fa2
3 changed files with 2 additions and 2 deletions

View File

@ -72,6 +72,7 @@ yarn create nocobase-app
cp .env.example .env
docker-compose up -d postgres
yarn install
yarn nocobase init
yarn start
~~~

View File

@ -57,7 +57,7 @@ for (const plugin of plugins) {
api.plugin(
require(`@nocobase/plugin-client/lib/server`).default, {
dist: path.resolve(process.cwd(), './dist'),
importData: true,
importDemo: true,
});
if (process.argv.length < 3) {

View File

@ -27,7 +27,6 @@ export default {
const Collection = database.getModel('collections');
for (const tableName of tableNames) {
const table = database.getTable(tableName);
console.log(tableName, table);
if (!table) {
continue;
}