fix: typo
This commit is contained in:
parent
8561502384
commit
681d940fa2
@ -72,6 +72,7 @@ yarn create nocobase-app
|
|||||||
cp .env.example .env
|
cp .env.example .env
|
||||||
docker-compose up -d postgres
|
docker-compose up -d postgres
|
||||||
yarn install
|
yarn install
|
||||||
|
yarn nocobase init
|
||||||
yarn start
|
yarn start
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ for (const plugin of plugins) {
|
|||||||
api.plugin(
|
api.plugin(
|
||||||
require(`@nocobase/plugin-client/lib/server`).default, {
|
require(`@nocobase/plugin-client/lib/server`).default, {
|
||||||
dist: path.resolve(process.cwd(), './dist'),
|
dist: path.resolve(process.cwd(), './dist'),
|
||||||
importData: true,
|
importDemo: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
if (process.argv.length < 3) {
|
if (process.argv.length < 3) {
|
||||||
|
@ -27,7 +27,6 @@ export default {
|
|||||||
const Collection = database.getModel('collections');
|
const Collection = database.getModel('collections');
|
||||||
for (const tableName of tableNames) {
|
for (const tableName of tableNames) {
|
||||||
const table = database.getTable(tableName);
|
const table = database.getTable(tableName);
|
||||||
console.log(tableName, table);
|
|
||||||
if (!table) {
|
if (!table) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user