Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
F
formbase
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
formexample_react
formbase
提交
6ae4a57e
提交
6ae4a57e
编写于
3月 30, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ibizdev提交
上级
b38a34b2
变更
1
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
1 行增加
和
9 行删除
+1
-9
App.tsx
app_Default/src/App.tsx
+1
-9
未找到文件。
app_Default/src/App.tsx
浏览文件 @
6ae4a57e
...
@@ -7,7 +7,6 @@ import Entity4EditView from './pages/module4/entity4-edit-view/entity4-edit-view
...
@@ -7,7 +7,6 @@ import Entity4EditView from './pages/module4/entity4-edit-view/entity4-edit-view
import
Entity5EditView
from
'./pages/module5/entity5-edit-view/entity5-edit-view'
;
import
Entity5EditView
from
'./pages/module5/entity5-edit-view/entity5-edit-view'
;
import
ExampleDLFEditView
from
'./pages/exapmple/example-dlfedit-view/example-dlfedit-view'
;
import
ExampleDLFEditView
from
'./pages/exapmple/example-dlfedit-view/example-dlfedit-view'
;
import
Entity2EditView
from
'./pages/module2/entity2-edit-view/entity2-edit-view'
;
import
Entity2EditView
from
'./pages/module2/entity2-edit-view/entity2-edit-view'
;
import
ExampleMain2EditView
from
'./pages/exapmple/example-main2-edit-view/example-main2-edit-view'
;
import
'./App.less'
;
import
'./App.less'
;
import
{
Layout
,
Menu
,
Breadcrumb
,
Icon
}
from
'antd'
;
import
{
Layout
,
Menu
,
Breadcrumb
,
Icon
}
from
'antd'
;
const
{
Header
,
Content
,
Footer
,
Sider
}
=
Layout
;
const
{
Header
,
Content
,
Footer
,
Sider
}
=
Layout
;
...
@@ -68,9 +67,6 @@ export default class App extends PureComponent {
...
@@ -68,9 +67,6 @@ export default class App extends PureComponent {
if
(
Object
.
is
(
this
.
currentPage
,
"Entity2EditView"
))
{
if
(
Object
.
is
(
this
.
currentPage
,
"Entity2EditView"
))
{
return
<
Entity2EditView
/>;
return
<
Entity2EditView
/>;
}
}
if
(
Object
.
is
(
this
.
currentPage
,
"ExampleMain2EditView"
))
{
return
<
ExampleMain2EditView
/>;
}
}
}
/**
/**
...
@@ -95,7 +91,7 @@ export default class App extends PureComponent {
...
@@ -95,7 +91,7 @@ export default class App extends PureComponent {
<
Layout
id=
"components-layout-demo-custom-trigger"
>
<
Layout
id=
"components-layout-demo-custom-trigger"
>
<
Sider
trigger=
{
null
}
collapsible
style=
{
{
minHeight
:
'100vh'
}
}
>
<
Sider
trigger=
{
null
}
collapsible
style=
{
{
minHeight
:
'100vh'
}
}
>
<
div
className=
"logo"
><
img
src=
"assets/images/logo.png"
/></
div
>
<
div
className=
"logo"
><
img
src=
"assets/images/logo.png"
/></
div
>
<
Menu
theme=
"dark"
mode=
"inline"
defaultSelectedKeys=
{
[
'"EntityEditView""ExampleEditorType""ExampleEditView""Entity3EditView""Entity4EditView""Entity5EditView""ExampleDLFEditView""Entity2EditView"
"ExampleMain2EditView"
'
]
}
onClick=
{
({
item
,
key
,
keyPath
,
domEvent
})
=>
{
this
.
handleMenuClick
(
item
,
key
,
keyPath
,
domEvent
)
}
}
>
<
Menu
theme=
"dark"
mode=
"inline"
defaultSelectedKeys=
{
[
'"EntityEditView""ExampleEditorType""ExampleEditView""Entity3EditView""Entity4EditView""Entity5EditView""ExampleDLFEditView""Entity2EditView"'
]
}
onClick=
{
({
item
,
key
,
keyPath
,
domEvent
})
=>
{
this
.
handleMenuClick
(
item
,
key
,
keyPath
,
domEvent
)
}
}
>
<
Menu
.
Item
key=
"EntityEditView"
>
<
Menu
.
Item
key=
"EntityEditView"
>
<
Icon
type=
"user"
/>
<
Icon
type=
"user"
/>
<
span
>
实体编辑视图
</
span
>
<
span
>
实体编辑视图
</
span
>
...
@@ -128,10 +124,6 @@ export default class App extends PureComponent {
...
@@ -128,10 +124,6 @@ export default class App extends PureComponent {
<
Icon
type=
"video-camera"
/>
<
Icon
type=
"video-camera"
/>
<
span
>
实体2编辑视图
</
span
>
<
span
>
实体2编辑视图
</
span
>
</
Menu
.
Item
>
</
Menu
.
Item
>
<
Menu
.
Item
key=
"ExampleMain2EditView"
>
<
Icon
type=
"upload"
/>
<
span
>
表单2
</
span
>
</
Menu
.
Item
>
</
Menu
>
</
Menu
>
</
Sider
>
</
Sider
>
<
Layout
>
<
Layout
>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录