Skip to content

fix ui-framework #115

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions admin-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"@ant-design/icons": "^5.4.0",
"@ant-design/pro-components": "^2.8.7",
"@babel/standalone": "^7.25.6",
"@codingapi/flow-pc": "^0.0.39",
"@codingapi/form-pc": "^0.0.39",
"@codingapi/ui-framework": "^0.0.39",
"@codingapi/flow-pc": "^0.0.41",
"@codingapi/form-pc": "^0.0.41",
"@codingapi/ui-framework": "^0.0.41",
"@dnd-kit/core": "^6.2.0",
"@dnd-kit/sortable": "^9.0.0",
"@handsontable/react-wrapper": "^15.0.0",
Expand Down
6 changes: 3 additions & 3 deletions mobile-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"private": true,
"dependencies": {
"@babel/standalone": "^7.25.6",
"@codingapi/flow-mobile": "^0.0.39",
"@codingapi/form-mobile": "^0.0.39",
"@codingapi/ui-framework": "^0.0.39",
"@codingapi/flow-mobile": "^0.0.41",
"@codingapi/form-mobile": "^0.0.41",
"@codingapi/ui-framework": "^0.0.41",
"@logicflow/core": "^2.0.10",
"@logicflow/extension": "^2.0.14",
"@reduxjs/toolkit": "^2.2.7",
Expand Down
2 changes: 1 addition & 1 deletion mobile-ui/src/config/flows.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import LeaveForm from "@/pages/levave/form";
import LeaveForm from "@/pages/leave/form";

export const flowViews = {
"default":LeaveForm
Expand Down
6 changes: 3 additions & 3 deletions mobile-ui/src/config/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import HomePage from "@/pages/home";
import {Route} from "react-router";
import {RouteObject} from "react-router/dist/lib/context";
import React from "react";
import LeaveListPage from "@/pages/levave";
import LeaveCreatePage from "@/pages/levave/create";
import LeaveListPage from "@/pages/leave";
import LeaveCreatePage from "@/pages/leave/create";
import FlowListPage from "@/pages/flow";
import FlowDetailPage from "@/pages/flow/detail";
import LeaveDetailPage from "@/pages/levave/detail";
import LeaveDetailPage from "@/pages/leave/detail";
import FormPage from "@/pages/form";
import MircoPage from "@/pages/mirco";

Expand Down
2 changes: 1 addition & 1 deletion mobile-ui/src/config/theme.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const config = {
// 主题配置
theme: theme,
// 后台名称
title: 'HR-人力资源管理系统',
title: 'Admin-UI',
// 后台logo
logo: 'static://assets/logo.png',
// 欢迎页路径
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";
import Header from "@/layout/Header";
import {FlowView} from "@codingapi/flow-mobile";
import LeaveForm from "@/pages/levave/form";
import LeaveForm from "@/pages/leave/form";
import {useNavigate} from "react-router";

const LeaveCreatePage = () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from "react";
import Header from "@/layout/Header";
import {useLocation} from "react-router";
import {Descriptions} from "@codingapi/form-mobile";
import {fields} from "@/pages/levave/fields";
import {fields} from "@/pages/leave/fields";

const LeaveDetailPage = () => {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {Form} from "@codingapi/form-mobile";
import {FlowFormViewProps} from "@codingapi/ui-framework";
import {Button, Toast} from "antd-mobile";
import {FlowViewReactContext} from "@codingapi/flow-mobile";
import {fields} from "@/pages/levave/fields";
import {fields} from "@/pages/leave/fields";

const LeaveForm: React.FC<FlowFormViewProps> = (props) => {
const flowViewReactContext = useContext(FlowViewReactContext);
Expand Down