fix: 修复接口入参类型错误

This commit is contained in:
wangxuefeng
2025-03-17 15:11:52 +08:00
parent a28d572879
commit d55ae2e97d
3 changed files with 14 additions and 11 deletions

View File

@@ -164,7 +164,7 @@ export class LowCodeService extends BaseService {
throw error;
})
: createFile({
project_id: initProject.id,
project_id: Number(initProject.id),
publish: false,
active: true,
dsl: file,

View File

@@ -5,10 +5,13 @@ import { useQuery } from '@tanstack/vue-query';
import { jsonp, request } from '@vtj/utils';
import { createProvider } from '@vtj/web';
import { ElLoading } from 'element-plus';
import { Url } from 'licia-es';
import Postmate from 'postmate';
import { LowCodeService } from './service';
console.log('Url', Url);
// 文件加载时,清空一次 sessionStorage
sessionStorage.clear();