Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
ni5
form-active表单可视化拖拽低代码平台
提交
c9b271f0
F
form-active表单可视化拖拽低代码平台
项目概览
ni5
/
form-active表单可视化拖拽低代码平台
与 Fork 源项目一致
Fork自
youjia727 / form-active表单可视化拖拽低代码平台
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
form-active表单可视化拖拽低代码平台
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
c9b271f0
编写于
5月 09, 2023
作者:
youjia727
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
增加曾经联动功能
上级
efdc44f4
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
8 addition
and
4 deletion
+8
-4
web/.nvmrc
web/.nvmrc
+1
-0
web/package-lock.json
web/package-lock.json
+2
-0
web/package.json
web/package.json
+2
-0
web/src/App.tsx
web/src/App.tsx
+1
-1
web/src/components/modal/CascaderConfig.tsx
web/src/components/modal/CascaderConfig.tsx
+0
-1
web/src/hooks/useUpdate.ts
web/src/hooks/useUpdate.ts
+2
-2
未找到文件。
web/.nvmrc
0 → 100644
浏览文件 @
c9b271f0
v18.14.2
web/package-lock.json
浏览文件 @
c9b271f0
...
...
@@ -8,10 +8,12 @@
"name"
:
"vite-react-ts-admin"
,
"version"
:
"0.0.0"
,
"dependencies"
:
{
"@ant-design/cssinjs"
:
"^1.9.1"
,
"@ant-design/icons"
:
"^5.0.1"
,
"@dnd-kit/core"
:
"^6.0.8"
,
"@dnd-kit/modifiers"
:
"^6.0.1"
,
"@dnd-kit/sortable"
:
"^7.0.2"
,
"@dnd-kit/utilities"
:
"^3.2.1"
,
"antd"
:
"^5.4.6"
,
"dayjs"
:
"^1.11.7"
,
"less"
:
"^4.1.3"
,
...
...
web/package.json
浏览文件 @
c9b271f0
...
...
@@ -10,10 +10,12 @@
"preview"
:
"vite preview"
},
"dependencies"
:
{
"@ant-design/cssinjs"
:
"^1.9.1"
,
"@ant-design/icons"
:
"^5.0.1"
,
"@dnd-kit/core"
:
"^6.0.8"
,
"@dnd-kit/modifiers"
:
"^6.0.1"
,
"@dnd-kit/sortable"
:
"^7.0.2"
,
"@dnd-kit/utilities"
:
"^3.2.1"
,
"antd"
:
"^5.4.6"
,
"dayjs"
:
"^1.11.7"
,
"less"
:
"^4.1.3"
,
...
...
web/src/App.tsx
浏览文件 @
c9b271f0
...
...
@@ -13,7 +13,7 @@ function View() {
<
App
>
{
/* outlet 占位符,类似于窗口, 有点像vue中的router-view */
}
{
location
.
pathname
===
'
/login
'
?
<
LoginLayout
>
{
outlet
}
</
LoginLayout
>
:
<
LoginLayout
>
{
outlet
as
React
.
ReactElement
<
any
,
any
>
}
</
LoginLayout
>
:
<>
{
outlet
}
</>
}
</
App
>
...
...
web/src/components/modal/CascaderConfig.tsx
浏览文件 @
c9b271f0
...
...
@@ -223,5 +223,4 @@ function CascaderConfig(props: propTypes) {
</
Modal
>
)
}
export
default
CascaderConfig
;
\ No newline at end of file
web/src/hooks/useUpdate.ts
浏览文件 @
c9b271f0
...
...
@@ -66,11 +66,11 @@ export function useReactive(data: objProps) {
/* 普通更新数据 */
export
function
useUpdate
()
{
const
[
_
,
update
]
=
useState
(
0
);
const
[
_
,
update
]
=
useState
<
number
>
(
0
);
function
updateCallback
(
callback
:
Function
)
{
callback
();
update
(
+
new
Date
());
update
(
Date
.
now
());
};
return
updateCallback
;
};
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录