chore: 低代码引擎升级

This commit is contained in:
wangxuefeng
2025-03-17 14:01:07 +08:00
parent fb8fbf3294
commit a6e787fd5b
11 changed files with 337 additions and 242 deletions

View File

@@ -23,6 +23,7 @@
"dependencies": {
"@sy/unified-login": "1.0.29",
"@sy/vue3-renderer-adapter": "workspace:*",
"@sy/web-vitals": "workspace:*",
"@vben/access": "workspace:*",
"@vben/common-ui": "workspace:*",
"@vben/constants": "workspace:*",

View File

@@ -16,7 +16,6 @@ export const updateApplication = async (id: string, data: any) => {
};
export const deleteApplication = async (id: string) => {
console.log(id);
const response = await instance.delete(`/api/v1/applications/${id}`);
return response.data;
};

View File

@@ -1,4 +1,4 @@
// @ts-ignore
// @ts-ignore 天梯没有定义 types
import AxiosAppClient from '@sy/unified-login/es/app-client/axios';
export type Env = 'dev' | 'pre' | 'prod' | 'test';

View File

@@ -3,9 +3,8 @@ import { unmountGlobalLoading } from '@vben/utils';
import { overridesPreferences } from './preferences';
/**
* 应用初始化完成之后再进行页面加载渲染
*/
// import '@sy/web-vitals';
async function initApplication() {
// name用于指定项目唯一标识
// 用于区分不同项目的偏好设置以及存储数据的key前缀以及其他一些需要隔离的数据