Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
szse
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhaochengxiang
szse
Commits
f7cac020
Commit
f7cac020
authored
Dec 04, 2021
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除警告
parent
0bf01bc7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
ModelTable.jsx
src/view/Manage/Model/Component/ModelTable.jsx
+2
-2
PartitionCURD.jsx
src/view/Manage/ModelConfig/Component/PartitionCURD.jsx
+0
-1
UpdatePartitionModal.jsx
...iew/Manage/ModelConfig/Component/UpdatePartitionModal.jsx
+1
-1
No files found.
src/view/Manage/Model/Component/ModelTable.jsx
View file @
f7cac020
...
@@ -7,7 +7,7 @@ import classnames from 'classnames';
...
@@ -7,7 +7,7 @@ import classnames from 'classnames';
import
{
dispatch
}
from
'../../../../model'
;
import
{
dispatch
}
from
'../../../../model'
;
import
{
showMessage
,
getQueryParam
,
paginate
,
isSzseEnv
}
from
'../../../../util'
;
import
{
showMessage
,
getQueryParam
,
paginate
,
isSzseEnv
}
from
'../../../../util'
;
import
{
AnchorId
,
AnchorTimestamp
,
Action
,
CatalogId
,
ModelerId
}
from
'../../../../util/constant'
;
import
{
AnchorId
,
AnchorTimestamp
,
Action
,
CatalogId
,
ModelerId
}
from
'../../../../util/constant'
;
import
Tag
from
"../../Tag"
;
//
import Tag from "../../Tag";
import
'./ModelTable.less'
;
import
'./ModelTable.less'
;
...
@@ -17,7 +17,7 @@ const ModelTable = (props) => {
...
@@ -17,7 +17,7 @@ const ModelTable = (props) => {
const
[
selectedRowKeys
,
setSelectedRowKeys
]
=
useState
([]);
const
[
selectedRowKeys
,
setSelectedRowKeys
]
=
useState
([]);
const
[
subSelectedRowKeys
,
setSubSelectedRowKeys
]
=
useState
([]);
const
[
subSelectedRowKeys
,
setSubSelectedRowKeys
]
=
useState
([]);
const
[
mouseEnterKey
,
setMouseEnterKey
]
=
useState
(
null
);
//
const [ mouseEnterKey, setMouseEnterKey ] = useState(null);
const
[
subData
,
setSubData
]
=
useState
([]);
const
[
subData
,
setSubData
]
=
useState
([]);
const
moreMenu
=
(
record
)
=>
{
const
moreMenu
=
(
record
)
=>
{
...
...
src/view/Manage/ModelConfig/Component/PartitionCURD.jsx
View file @
f7cac020
import
React
,
{
useEffect
,
useState
}
from
'react'
;
import
React
,
{
useEffect
,
useState
}
from
'react'
;
import
{
Table
,
Button
,
Tooltip
,
Modal
,
Divider
}
from
'antd'
;
import
{
Table
,
Button
,
Tooltip
,
Modal
,
Divider
}
from
'antd'
;
import
{
Action
,
TemplateId
}
from
'../../../../util/constant'
;
import
{
dispatch
}
from
'../../../../model'
;
import
{
dispatch
}
from
'../../../../model'
;
import
{
showMessage
}
from
'../../../../util'
;
import
{
showMessage
}
from
'../../../../util'
;
import
UpdatePartitionModal
from
'./UpdatePartitionModal'
;
import
UpdatePartitionModal
from
'./UpdatePartitionModal'
;
...
...
src/view/Manage/ModelConfig/Component/UpdatePartitionModal.jsx
View file @
f7cac020
...
@@ -2,7 +2,6 @@ import React, { useEffect, useState } from 'react';
...
@@ -2,7 +2,6 @@ import React, { useEffect, useState } from 'react';
import
{
Modal
,
Form
,
Input
}
from
'antd'
;
import
{
Modal
,
Form
,
Input
}
from
'antd'
;
import
{
dispatch
}
from
'../../../../model'
;
import
{
dispatch
}
from
'../../../../model'
;
import
{
showNotifaction
}
from
'../../../../util'
;
const
UpdatePartitionModal
=
(
props
)
=>
{
const
UpdatePartitionModal
=
(
props
)
=>
{
const
{
visible
,
onCancel
,
item
,
action
=
'add'
}
=
props
;
const
{
visible
,
onCancel
,
item
,
action
=
'add'
}
=
props
;
...
@@ -29,6 +28,7 @@ const UpdatePartitionModal = (props) => {
...
@@ -29,6 +28,7 @@ const UpdatePartitionModal = (props) => {
}
}
}
}
//eslint-disable-next-line react-hooks/exhaustive-deps
},
[
visible
])
},
[
visible
])
const
handleOk
=
async
()
=>
{
const
handleOk
=
async
()
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment