Commit 2fbb33e6 authored by 皮倩雯's avatar 皮倩雯

fix: 'mobile搭建删除提示错误'

parent 2d7185ba
Pipeline #82816 passed with stages
......@@ -80,12 +80,13 @@ const MobileConfigPage = props => {
}
case 'remove': {
let val = key.split('single')[1] || '';
let data = singleList.find(i => i.id === key);
Modal.confirm({
title: '确认删除应用?',
icon: <ExclamationCircleOutlined />,
content: (
<span>
删除应用 <span style={{ fontWeight: 800, color: '#1890ff' }}>{key}</span>{' '}
删除应用 <span style={{ fontWeight: 800, color: '#1890ff' }}>{data.text}</span>{' '}
后,将一并删除所属角色与菜单,确认删除?
</span>
),
......
......@@ -89,6 +89,17 @@ const ImportOrExport = props => {
shape="circle"
/>
</Upload>
<Button
type="primary"
onClick={() => handleUpload(2)}
loading={uploading}
style={{
marginLeft: '10px',
display: nodeObj ? 'none' : 'block',
}}
>
增量导入
</Button>
<Popconfirm
title={
<span>
......@@ -111,17 +122,6 @@ const ImportOrExport = props => {
</Button>
</Popconfirm>
<Button
type="primary"
onClick={() => handleUpload(2)}
loading={uploading}
style={{
marginLeft: '10px',
display: nodeObj ? 'none' : 'block',
}}
>
增量导入
</Button>
<Button
type="primary"
onClick={() => handleUpload(2)}
......
......@@ -88,6 +88,17 @@ const ImportOrExport = props => {
shape="circle"
/>
</Upload>
<Button
type="primary"
onClick={() => handleUpload(2)}
loading={uploading}
style={{
marginLeft: '10px',
display: nodeObj ? 'none' : 'block',
}}
>
增量导入
</Button>
<Popconfirm
title={
<span>
......@@ -110,17 +121,6 @@ const ImportOrExport = props => {
</Button>
</Popconfirm>
<Button
type="primary"
onClick={() => handleUpload(2)}
loading={uploading}
style={{
marginLeft: '10px',
display: nodeObj ? 'none' : 'block',
}}
>
增量导入
</Button>
<Button
type="primary"
onClick={() => handleUpload(2)}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment