diff --git a/packages/plugins/@nocobase/plugin-mobile-client/src/server/plugin.ts b/packages/plugins/@nocobase/plugin-mobile-client/src/server/plugin.ts index 30bd5a114..a989d9824 100644 --- a/packages/plugins/@nocobase/plugin-mobile-client/src/server/plugin.ts +++ b/packages/plugins/@nocobase/plugin-mobile-client/src/server/plugin.ts @@ -1,6 +1,5 @@ import { Plugin } from '@nocobase/server'; import { resolve } from 'path'; -import { routes } from './routes'; export class MobileClientPlugin extends Plugin { afterAdd() {} @@ -16,12 +15,12 @@ export class MobileClientPlugin extends Plugin { } async install() { - const repository = this.app.db.getRepository('uiRoutes'); - for (const values of routes) { - await repository.create({ - values, - }); - } + // const repository = this.app.db.getRepository('uiRoutes'); + // for (const values of routes) { + // await repository.create({ + // values, + // }); + // } const uiSchemas = this.db.getRepository('uiSchemas'); const systemSettings = this.db.getRepository('systemSettings'); const schema = await uiSchemas.insert({