fix(lm): wrong version of migration (#3148)
* fix(lm): wrong version of migration * fix: typo
This commit is contained in:
		
							parent
							
								
									ff097936dd
								
							
						
					
					
						commit
						269467ebb0
					
				@ -70,7 +70,7 @@ export class G2PlotChart extends Chart {
 | 
				
			|||||||
  getReference() {
 | 
					  getReference() {
 | 
				
			||||||
    return {
 | 
					    return {
 | 
				
			||||||
      title: this.title,
 | 
					      title: this.title,
 | 
				
			||||||
      link: `https://charts.ant.design/api/plots/${this.name}`,
 | 
					      link: `https://ant-design-charts.antgroup.com/api/plots/${this.name}`,
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -5,7 +5,7 @@ import { Op } from '@nocobase/database';
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
export default class FixModuleMigration extends Migration {
 | 
					export default class FixModuleMigration extends Migration {
 | 
				
			||||||
  async up() {
 | 
					  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) {
 | 
					    if (!result) {
 | 
				
			||||||
      return;
 | 
					      return;
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user