From 269467ebb043c9da5f5338618c64f171326ac8b7 Mon Sep 17 00:00:00 2001 From: YANG QIA <2013xile@gmail.com> Date: Wed, 6 Dec 2023 15:07:23 +0800 Subject: [PATCH] fix(lm): wrong version of migration (#3148) * fix(lm): wrong version of migration * fix: typo --- .../plugin-data-visualization/src/client/chart/g2plot/g2plot.ts | 2 +- ...0231130161851-fix-module.ts => 20231206161851-fix-module.ts} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename packages/plugins/@nocobase/plugin-localization-management/src/server/migrations/{20231130161851-fix-module.ts => 20231206161851-fix-module.ts} (96%) diff --git a/packages/plugins/@nocobase/plugin-data-visualization/src/client/chart/g2plot/g2plot.ts b/packages/plugins/@nocobase/plugin-data-visualization/src/client/chart/g2plot/g2plot.ts index ae6a5f9c1..5094318af 100644 --- a/packages/plugins/@nocobase/plugin-data-visualization/src/client/chart/g2plot/g2plot.ts +++ b/packages/plugins/@nocobase/plugin-data-visualization/src/client/chart/g2plot/g2plot.ts @@ -70,7 +70,7 @@ export class G2PlotChart extends Chart { getReference() { return { title: this.title, - link: `https://charts.ant.design/api/plots/${this.name}`, + link: `https://ant-design-charts.antgroup.com/api/plots/${this.name}`, }; } } diff --git a/packages/plugins/@nocobase/plugin-localization-management/src/server/migrations/20231130161851-fix-module.ts b/packages/plugins/@nocobase/plugin-localization-management/src/server/migrations/20231206161851-fix-module.ts similarity index 96% rename from packages/plugins/@nocobase/plugin-localization-management/src/server/migrations/20231130161851-fix-module.ts rename to packages/plugins/@nocobase/plugin-localization-management/src/server/migrations/20231206161851-fix-module.ts index e23387d45..1eea7db98 100644 --- a/packages/plugins/@nocobase/plugin-localization-management/src/server/migrations/20231130161851-fix-module.ts +++ b/packages/plugins/@nocobase/plugin-localization-management/src/server/migrations/20231206161851-fix-module.ts @@ -5,7 +5,7 @@ import { Op } from '@nocobase/database'; export default class FixModuleMigration extends Migration { async up() { - const result = await this.app.version.satisfies('<=0.16.0-alpha.7'); + const result = await this.app.version.satisfies('<=0.17.0-alpha.4'); if (!result) { return;