mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 08:47:20 +00:00
fix(mobile-client): remove routes
This commit is contained in:
parent
836b34a6a4
commit
c4be5315ce
@ -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<any>('uiSchemas');
|
||||
const systemSettings = this.db.getRepository('systemSettings');
|
||||
const schema = await uiSchemas.insert({
|
||||
|
Loading…
Reference in New Issue
Block a user