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
57fdd1e2
Commit
57fdd1e2
authored
Nov 30, 2023
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix
parent
c56806f9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
ImportAction.jsx
src/view/Manage/Model/Component/ImportAction.jsx
+1
-3
No files found.
src/view/Manage/Model/Component/ImportAction.jsx
View file @
57fdd1e2
...
@@ -577,10 +577,9 @@ const ImportAction = React.forwardRef((props, ref) => {
...
@@ -577,10 +577,9 @@ const ImportAction = React.forwardRef((props, ref) => {
return (
return (
<Spin spinning={loading}>
<Spin spinning={loading}>
{
{
(action==='detail' && ((modelerData||{}).optionList||[]).findIndex(item => item.enabled && item.name==='查看') === -1) ? <div style={{ padding: '10px 20px' }}>
(action==='detail' && ((modelerData||{}).optionList||[]).findIndex(item => item.enabled && item.name==='查看') === -1) ? <div style={{ padding: '10px 20px'
, height: 60
}}>
{loading?'':'暂无权限'}
{loading?'':'暂无权限'}
</div> : <div className='import-action'>
</div> : <div className='import-action'>
<div style={{ position: 'sticky', top: 0 }}>
<Tabs activeKey={activeValue} centered onChange={(val) => {
<Tabs activeKey={activeValue} centered onChange={(val) => {
setActiveValue(val);
setActiveValue(val);
var targetElement = container?.querySelector(`
.
$
{
val
}
`); // 找到目标元素
var targetElement = container?.querySelector(`
.
$
{
val
}
`); // 找到目标元素
...
@@ -596,7 +595,6 @@ const ImportAction = React.forwardRef((props, ref) => {
...
@@ -596,7 +595,6 @@ const ImportAction = React.forwardRef((props, ref) => {
<Tabs.TabPane tab='管理信息' key="model-import-action-manage" />
<Tabs.TabPane tab='管理信息' key="model-import-action-manage" />
<Tabs.TabPane tab='关联对象' key="model-import-action-relation" />
<Tabs.TabPane tab='关联对象' key="model-import-action-relation" />
</Tabs>
</Tabs>
</div>
<div ref={setContainer} style={{ height: action==='edit-inherite-modal'?'60vh':'calc(100vh - 44px - 64px - 82px)', overflow: 'auto', padding: '20px 20px 0' }}>
<div ref={setContainer} style={{ height: action==='edit-inherite-modal'?'60vh':'calc(100vh - 44px - 64px - 82px)', overflow: 'auto', padding: '20px 20px 0' }}>
<ImportActionHeader
<ImportActionHeader
form={form}
form={form}
...
...
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